text-decoration

Manipulate the text's decoration. Note: to specify no text decoration, be sure that you use "none". Anchor underlines can be removed with that method.

Value Description
line-through A line appears through the middle of your text. This is the same effect as strikethrough.
overline A line appears above all of your text.
underline A line appears below your text.
none Tells the browser to not use any kind of "styling" for this attribute.

Code:

h4{ text-decoration: line-through; }
h5{ text-decoration: overline; }
h6{ text-decoration: underline; }

Display:

This header has a line through the middle

This header has an overline
This header has an underline
- See our CSS Link tutorial for information on creating link mouseovers.

Compatibility Issues:

IE does not support the value "blink".