. class code example Example 1: class .ThisIsAClassName { color: blue; } Example 2: class <p class="ThisIsAClassName">Class</p>