Home » HTML » Html miscellaneous » Question
  1. Which attribute specifies a unique alphanumeric identifier to be associated with an element?
    1. html
    2. article
    3. class
    4. id
    5. None of these
Correct Option: D

HTML is Hyper Text Markup Language which is used to create web pages and applications. The id attribute is most used to point to a style in a style sheet, and by JavaScript (via the HTML DOM) to manipulate the element with the specific id. Class is a name given to HTML elements which can be used by CSS and JavaScript for styling the web pages. A self-contained content is called attribute.



Your comments will be displayed only after manual approval.