Cascading Style Sheets | CSS Class

Cascading Style Sheets | CSS Class

There is another attribute in the class like HTML id attribute. You can use it in almost all HTML elements. Suppose you have 10 headings in one HTML document, two h1, 3 h3, h2 … more like this. Now you want all h1 colors to be red and all the h3 colors will be...