CSS1 Test Suite: 5.4.3 text-decoration


[Previous] [Next] [Section] [Contents] [Reference Image] [Specification]
Last Updated: 31 August 1998

The style declarations which apply to the text below are:

.one {text-decoration: underline;}
.two {text-decoration: overline;}
.three {text-decoration: line-through;}
.four {text-decoration: blink;}
.five {text-decoration: none;}
.six {text-decoration: underline overline;}
.seven {text-decoration: underline overline line-through;}


This sentence should be underlined.

This sentence should be overlined.

This sentence should be stricken text (linethrough).

This sentence should be blinking.

This sentence should be underlined, but the last three words in the sentence should not be underlined.

This sentence should be underlined and overlined.

This sentence should be underlined, overlined, and stricken.

There should be nothing visible between this sentence and the one above (there is an empty paragraph element with class of seven).

Text decorations only apply to the text of an element, so the image at the end of this sentence should not be underlined: .

The underlining in this sentence should be green, no matter what the text color may be.

The colors of the underlining in this sentence should be the same as that of the parent text (that is, the first word in the sentence, which should be black).

This sentence should be underlined.

This sentence should be overlined.

This sentence should be stricken text (linethrough).

This sentence should be blinking.

This sentence should be underlined, but the last three words in the sentence should not be underlined.

This sentence should be underlined and overlined.

This sentence should be underlined, overlined, and stricken.

There should be nothing visible between this sentence and the one above (there is an empty paragraph element with class of seven).

Text decorations only apply to the text of an element, so the image at the end of this sentence should not be underlined: .

The underlining in this sentence should be green, no matter what the text color may be.

The colors of the underlining in this sentence should be the same as that of the parent text (that is, the first word in the sentence, which should be black).


[Previous] [Next] [Section] [Contents] [Reference Image] [Specification]