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