How to format an img with the alt element warped around it?
Did you mean the
<a> tag, which is a link tag?
The alt attribute is just alternative text specified for an image, like this one:
alt="A brown bear".
As regards your code, yes the right way of formatting an image with a link around it would be
<a> on its own doesn't do much, it needs its attributes, like
Also, be careful with white spaces in your code... this might throw errors on CC that will not allow you to pass the exercise.
...image_brownbear.jpg"target= "_blank" alt="A brown bear "/>
...image_brownbear.jpg" target="_blank" alt="A brown bear" />
<a href = "https://en.wikipedia.org/wiki/Brown_bear" target = "_blank" >Learn more </a>
<a href="https://en.wikipedia.org/wiki/Brown_bear" target="_blank">Learn more</a>