Multiple classes

Not supported by Netscape 4, OmniWeb and Explorer 4 Mac.

This page tests the assigning of multiple class names to one element. Each test paragraph has two values for its class attribute.

Testsheet; note the last rule: it says "any p that has a class underline AND small".

p.italic {font-style: italic;}
p.underline {text-decoration: underline;}
p.large {font-size: 120%;}
p.small {font-size: 90%;}
p.underline.small {font-variant: small-caps;}

This paragraph has class="italic large" It should be italic and large.

This paragraph has class="underline large" It should be underlined and large.

This paragraph has class="italic small" It should be italic and small.

This paragraph has class="underline small" It should be underlined, small, and it should use small-caps.