'id' Syntax and Note : id « HTML Attributes Reference « HTML CSS Reference

'id' Syntax and Note

This attribute defines the id that can be used to reference the element.
It is preferable to use the id attribute than to the name attribute.
Name attribute is not available to all the HTML elements, whereas the id attribute is.
<element ID="value"> . . . </element>


Related examples in the same category

1.'id' Example
2.id is applied to