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

kevin rivera
kevin rivera
221 Points

Find the anchor tag on the page. Set it so that it points to the top of the page. - Cant figure out!

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

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

  </body>
</html>

1 Answer

It's going to look like this.

<a href="#top">Go back to the top of the page.</a>