Got a question

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
Learning HTML

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

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”/>

<do not remove the three backticks above>

<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.

1 Like

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