Usually JavaScript and CSS deal with element id.
For example, if any javascript function wants to invoke the element, it can call the element using the element identifier.
And the style sheet can assign specific style to the element using the element identifier.
Id is one of the attributes of an element.
<tag id="something">Element Content</tag>View in Code Editor