Which attribute specifies a unique alphanumeric identifier to be associated with an element?

A type
B article
C id
D class

Correct Answer: id

HTML is Hyper Text Markup Language that 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 that can be used by CSS and JavaScript for styling web pages. A self-contained content is called an attribute.

Related Questions

Next steps