text-decoration | NN 4 IE 4 CSS 1
| Inherited: No
Specifies additions to the text content of the element in the form of underlines, strikethroughs, overlines, and (in Navigator and CSS) blinking. You may specify more than one decoration style by supplying values in a space-delimited list. Thankfully, mainstream browsers ignore the blink setting. Navigator 4 does not recognize the overline decoration.

Text decoration has an unusual parent-child relationship. Values are not inherited, but the effect of a decoration carries over to nested items. Therefore, unless otherwise overridden, an underlined p element underlines a nested span element within, for example.

CSS Syntax
    text-decoration: decorationStyle | none
Value
In addition to none, any of the following four constants: blink | line-through | overline | underline, but browsers generally ignore blink.
Initial Value
none
Example
    div.highlight {text-decoration: underline}
Applies To
All elements.
Object Model Reference
    [window.]document.getElementById("elementID").style.textDecoration
    [window.]document.getElementById("elementID").style.textDecorationBlink
    [window.]document.getElementById("elementID").style.textDecorationLineThrough
    [window.]document.getElementById("elementID").style.textDecorationNone
    [window.]document.getElementById("elementID").style.textDecorationOverLine
    [window.]document.getElementById("elementID").style.textDecorationUnderline