Types - User Defined
<head>
<style>
.style1
{
color: red;
background-color: orange;
}
</style>
</head>
The names used for user defined styles should not belong to any html tag.
We set the style for the tag using the attribute "class".Example1:
<font class=style1>home</font>
Result:
home
Example2:
<a href="explainpoint.php" class=style1>home</a>
Result:
home