div add css class code example Example: css class attribute <h1 class="Class">Content</h1> <h1 id="id">Content</h1> Css: .class #id