Headings: [Skip]

Web-Design Tutorials by Dr Sam

CSS, the Cascade

Menu [Skip]

Class Attribute

Applying the class attribute

To learn how to apply the CSS classes, let's bring our Muffet back from her helpful isolation. Here she is again:

Little Miss Muffet

We are creating her styles with classes now, like this:

<p class="muff01"><span class="muff02">Little Miss Muffett</span></p>

How have we done this? Let's see …