How to use HTML Class Attribute: A Comprehensive Guide

Technology Diving
1 min readJun 5, 2018

--

The Class Attribute

Class attribute is used to assign the same style for different elements. This is done by declaring the same class name with for all the elements.

Below is the example of three different <div> elements having same class name.

Read More At Technology Diving — HTML Attributes

--

--