When anchor links point to a specific section of a page, the ______ attribute is used in the destination element.

  • class 
  • href 
  • id 
  • name 
The id attribute is used to uniquely identify an element on a page. When anchor links are created to point to specific sections of a page, they typically reference this id attribute, allowing users to jump to that specific section directly. For example, Go to Section 1 will direct the user to the element with id="section1". 
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *