Home » HTML » Html miscellaneous » Question
  1. All elements are identified by their __________ and are marked up using either start tags and end tags or self-closing tags.
    1. class name
    2. attribute name
    3. tag name
    4. All of above
    5. None of these
Correct Option: C

The attribute name describes name of <input> element. The tagName property returns the tag name of the element. In HTML, the returned value of the tagName property is always in UPPERCASE. Name of class is returned by class name.



Your comments will be displayed only after manual approval.