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

Lukas Herrell
Lukas Herrell
1,298 Points

I need to give the image tag a src attribute with a file path of "images/spain.jpg".

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

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

  </body>
</html>

1 Answer

David Park
David Park
Front End Web Development Techdegree Student 6,105 Points

put the path in the src="path". Ex. <img src="images/spain.jpg" alt="A picture of me in Spain">