using - in css class code example
Example 1: class html
<p class="ThisIsAClassName">HI</p>
Example 2: css class attribute
<h1 class="Class">Content</h1>
<h1 id="id">Content</h1>
Css:
.class
#id
<p class="ThisIsAClassName">HI</p>
<h1 class="Class">Content</h1>
<h1 id="id">Content</h1>
Css:
.class
#id