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

set the anchor tag to that it points to the top of the page? Please help me. I cannot get this question

how to add a hyperlink using html

    <title>My trip to Spain</title>

    <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> href="#top"= Go back to the top of the page.</a>


1 Answer

Adam Pengh
Adam Pengh
28,838 Points

Note from Moderator:

While the original answer may have been correct, there was no explanation for why it worked. This kind of answer is discouraged because students can complete a task without knowing why the answer works.

Adam Pengh , if you would like to rewrite your answer with an explanation, feel free to delete this message and repost.