HTML Introduction to HTML and CSS HTML: The Structural Foundation of Web Pages and Applications Test: Creating an HTML Element

John May
John May
97 Points

What’s wrong with this?

index.html
<!doctype>
<html>
  <head>
    <title>My trip to Spain</title>
  </head>
  <body>

    <img alt="A picture of me in Spain">images/spain.jpg
    Here is a picture of me in Spain last summer!
    <a>Go back to the top of the page.</a>

  </body>
</html>

1 Answer

Stivan Radev
Stivan Radev
7,012 Points
// You have to add the images/spain.jpg inside the <img> tag with attr src="", like this
<img alt="A picture of me in Spain" src="images/spain.jpg">