class
AttributeIf you have any comments to make regarding this test, e-mail ian@hixie.ch.
class
attribute, CSS1's class selector (".xxx
") and CSS1's color
, font-weight
and text-decoration
properties.This page's stylesheet:
.green { background: white; color: green; } .bold { font-weight: bold; } .underline { text-decoration: underline; }
The following paragraphs have the same value for the
class
attribute as the content of the paragraph, and
should have the style that they describe.
Green
Bold
Underline
Green Bold
Green Underline
Bold Underline
Green Bold Underline
Bugzilla: Bug 701 (Fixed); Bug 1993 (Duplicate)
Last updated in January 1999.