HTML Trouble

Autumn Potter asked 3 years ago

Hello, as I am following along with the videos, I am making sure to check my code on validator.org, however, even though I am writing down the same things that Brother Keith is writing down, it is saying my code has some issues. I am hoping to get some help fixing this! 
Here are the warnings I am receiving:
Warning: Consider adding a lang attribute to the html start tag to declare the language of this document.
Error: Attribute atl not allowed on element img at this point. 
Error: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text

1 Answers
Shayna answered 3 years ago

The best way to combat these errors is to use Google. If you look up on google, “lang attribute html,” click through some of the links, you’ll find this extremely helpful example: <html lang=”en”>. Then, add that attribute to your html tag, and you’ve done the first warning.
Also, “atl” is not an actual attribute; you’re probably thinking “alt”, which will fix both of your errors. 
Try to use google as much as you can before coming to the TAs for help, mostly because google is not restricted to certain hours of the day, and most of the problems you’ll find are easily resolved by google and W3schools.

Your Answer

8 + 16 =

css.php