css class

CSS
<p class="ThisIsAClassName">HI</p>.myclass {
  border:1px solid black;
  background-color: #d2d2d2;
  height:20px;
  width:60px;
}
/*If you give this class to a div in html, it will get the styles you gave
to that class. You can add multiple classes to a div, and multiple divs
can get that class. */
/* I hope I helped! */.ThisIsAClassName{
  font-family: sans-serif;
}//remove a css class from an element
document.getElementById("myElementID").classList.remove("class_name"); .class{
    color:red;
}
Source

Also in CSS: