Examveda
Examveda

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

A. class

B. id

C. article

D. html

Answer: Option B

Solution(By Examveda Team)

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.

This Question Belongs to HTML >> Basic HTML

Join The Discussion

Related Questions on Basic HTML

Choose the correct statement of HTML

A. In traditional XHTML close tag for some elements is optional but not encouraged

B. In traditional HTML close tag for some elements is optional but not encouraged

C. None of the mentioned

D. In both traditional XHTML and HTML close tag for some elements is optional