What am I doing wrong?


#1



Replace this line with your code.


#2

This is a link with link text (otherwise known as hypertext):

<a href="https://www.codecademy.com">Codecademy</a>

This is a link with an image instead of text.

<a href="https://www.codecademy.com"><img src="https://s3.amazonaws.com/codecademy-images/discuss_cc-logo.png"></a>

Notice how a link (anchor element) has an OPENTAG, <a> and an ENDTAG, </a>, but an <img> does not.

Only elements that contain other elements, or text, have end tags. Elements that have only attributes, such as <img> are called empty, or void elements. Take some time to track down all the void elements so you remember them.