# Property Description

The text-decoration property sets the decoration added to text.

# Property Values

Value | Description
--- | ---
none | (default) No decoration. Defines normal text
underline | Draws a line below the text
overline | Draws a line above the text
line-through | Draws a line through the text
blink2 | Sets blinking text
inherit1 | Specifies that the value of the property should be inherited from the parent element

# Examples

This example sets the text decoration for h1, h2, and h3 elements.

    h1 {
      text-decoration:underline
    }

    h2 {
      text-decoration:line-through
    }

    h3 {
      text-decoration:overline
    }

This example shows the results of setting the various text-decoration values:

    text-decoration:none

    text-decoration:underline

    text-decoration:overline

    text-decoration:line-through

# Browser Support

Firefox | IE | Chrome | Opera | Safari

1 - 'inherit' not supported by IE

2 - 'blink' not supported by IE, Chrome, or Safari

# Miscellaneous Information

Inherited: | No
Defined In: | CSS1