Got a question


#1


Learning HTML


I am trying to add the "alt" attribute but the the index html program keeps underlining my img angle brackets pointing that "special characters must be escaped", nevertheless i've done the task and I got it correct, I would just really want to know why are my brackets being underlined because I genuinely don't know what's my mistake. Sorry if this is too dumb smh.


Replace this line with your code. 
 <img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" "#" alt="A brown bear in a green nature background with his head tilt to his right"/>


#2

<img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" "#" alt="A brown bear in a green nature background with his head tilt to his right"/>

"#" --> this is the reason why.

This has basically no place, as is, inside your img tag.

You'll commonly find it used like this <a href="#">. It means the link will not open anything, it will stay on the same page.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.