An attribute is used to provide extra or additional information about an element.
All HTML elements can have attributes. Attributes provide additional information a...
Share
The id attribute is a unique identifier which is used to specify the document. It is used by CSS and JavaScript to perform a certain task for a unique element. In CSS...
Share
Class attributes
Class attributes belong to the class itself they will be shared by all the instances. Such attributes are defined in the class body parts usually at...
Share