Workshop › My business card › Step 3 of 12
The name and the line belong together: they will be one card. A <div> groups them, and class="card" gives the
group a name we can style later.
```html
<div class="card">
<h1>Ada Lovelace</h1>
<p>Learning to build websites</p>
</div>
```<div> ... </div> wraps the heading and the paragraph into one box.class="card" is an attribute: extra information inside the opening tag. It names the box.Put <div class="card"> above the h1 and </div> below the p, and indent the two lines inside.
Skills: HTML structure
← A line about you Your first CSS →