+1 vote
in HTML by
Which of the following attribute is used to provide a unique name to an element?

i) class

ii) id

iii) type

iv) None of the above

1 Answer

0 votes
by

ii) id

The id attribute is used to specify a unique id for an element of the HTML document. It allocates the unique identifier which can be used by the JavaScript and CSS to perform certain tasks.

...