purpose of class attribute in html code example
Example 1: class html
<p class="ThisIsAClassName">HI</p>
Example 2: html create class
<h1 class="write a name">H1 content</h1>
<p class="ThisIsAClassName">HI</p>
<h1 class="write a name">H1 content</h1>