The style declarations contained within this page:
.cl1 {text-decoration: underline;} .cl2 {text-decoration: overline;} .cl3 {text-decoration: line-through;} .cl4 {text-decoration: blink;} B.cl5 {text-decoration: none;} .cl6 {text-decoration: underline overline;} .cl7 {text-decoration: underline overline line-through;} div.parent {text-decoration: none;} div.inh1 {text-decoration: underline;} div.inh2 {text-decoration: line-through;}
[cl1] The text of this paragraph should be underlined.
[cl2] The text of this paragraph should be overlined.
[cl3] The text of this paragraph should be stricken (linethrough).
[cl4] The text of this paragraph should be blinking. (It is not required, however, that UAs support this behavior.)
[cl1] The text of this paragraph should be underlined. The boldfaced text in this paragraph [cl5] should also be underlined. This is because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own.
[cl6] The text of this paragraph should be underlined and overlined.
[cl7] The text of this paragraph should be underlined, overlined, and stricken.
There should be nothing visible between this paragraph and the one above (there is an empty paragraph element with class of seven between them).
[cl1] Text decorations only apply to the text of an element, so the image at the end of this sentence should not be overlined: . The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans' child elements.
[cl1] The underlining in this paragraph should be green, no matter what the text color may be.
[cl1] The colors of the underlining in this paragraph should be the same as that of the parent text (that is, the first word in the sentence, which should be black).
text-decoration
value. [/div.inh1]
text-decoration
value. [/div.inh2]