which tag and attributes are used to jump to (1)a new page (2)another location in the same page?
Answers
Answered by
23
Answer:
1) <a href="https://www.google.com">HTML</a>
2)<a href="#top">link to top</a>
Explanation:
1)
Links, otherwise known as hyperlinks, are defined using the <a> tag — otherwise known as the anchor element.
To create a hyperlink, you use the <a> tag in conjunction with the href attribute. The value of the href attribute is the URL, or, location of where the link is pointing to.
2)
Notice the hash mark (#). That tells the browser that it’s a section of a page it’s looking for, and not a separate page or folder.
Answered by
9
Explanation:
(b) <a href = "another_location_on_same_page"> another location on same page </a>
Attachments:
Similar questions