html css class with element code example
Example 1: html create class
<h1 class="write a name">H1 content</h1>
Example 2: css calss
.ThisIsAClassName{
font-family: sans-serif;
}
<h1 class="write a name">H1 content</h1>
.ThisIsAClassName{
font-family: sans-serif;
}