HTML Attributes

There are three main attributes that can be used to classify tags in HTML.

 

Class Refers to a class in a stylesheet and specifies that classname to an element.
id Specifies a unique ID for an element
Style Specifies inline CSS style for an element without needing an external stylesheet