The __________ attribute can be added to most (X)HTML elements to identify the element as belonging to a group of elements within an (X)HTML document.
Answers
Answered by
5
The ID attribute can be added to most (X)HTML elements to identify the element as belonging to a group of elements within an (X)HTML document.
It specifies a unique id for HTML and (X)HTML elements.
These attributes can perform several powerful functions. You are required to follow certain rules to uses the ID-attribute.
Answered by
0
A user can use ID to identify the element present in a group of elements within an (X)HTML document.
The ID used by the user should be unique, as two elements cannot be named with a same ID.
For example, in a (X)HTML document, it may contain a group of elements, if two elements are named in a same manner then it will lead to confusion. So one must always use a unique name.
Similar questions