The ______ attribute is used to define a unique identifier for an element.

  • for 
  • id 
  • type 
  • value 
The id attribute is used to give a unique identifier to an HTML element. This unique id can be referred to from the CSS, JavaScript, or for linking to a specific section of a webpage. Each id should be unique within a page to ensure precise referencing. 
Add your answer
Loading...