HTML DOM Element id
HTML DOM Element id Property
The id property is used to either set or return the value of an element id attribute. It must be unique within the page.
Syntax;-
Its syntax is:- element.id OR element.id = id
Return:-
Its return is:- id of the element
Further Explanation:-
Value | Description |
id | The id of the element. |