<!-- In this example I will show you how Class selector is used -->
<h1> What is Class Slector in HTML </h1>
<h2> The class selector is used to specify a style for a group of elements. Unlike the id selector, the class selector is most often used on several elements. </h2>
<h3> This allows you to set a particular style for many HTML elements with the same class. </h3>
<h4> The class selector uses the HTML class attribute, and is defined with a "."</h4>
<div class="dombo"> Example 1 </div>
<p class="bombo"> Example 2 </p>
<div class="bombo"> This line will be similer to Example 2 </div>
<p class="dombo"> This line will be similer to Example 1</p>
.dombo {
color:purple;
text-align:left;
}
.bombo {
color:red;
text-align:right;
}