What is wrong with this?:

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

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

<In what way does your code behave incorrectly? Include ALL error messages.>
When I click “save and submit” it replies:
Oops, try again.
Make sure your tag has a href attribute inside the opening tag!


    <body>
    <a>
    <a href= "http://codecademy.com">
        <img src= "https://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
    </a>
    </body>


Thought I should include the entire text:

!DOCTYPE html>
<html>
    <head>
        <title></title>
    </head>
    <body>
    <a>
    <a href= "http://codecademy.com">
        <img src= "https://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
    </a>
    </body>
</html>

Except you have two <a> opening tags, remove the one which doesn’t have a href attribute

1 Like