Specifies the appearance characteristics of text, whether it is underlined, overlined, lined-through or blinking text.
You can specify a space separated list of decoration types, if you want to use more than one for an element.
|One of the following values:|
Description of values:
|Use default anchor decoration.|
|The text content of the element blinks.|
|Takes the value of this property from the computed style of the parent element.|
|The text content of the element is displayed with a line through the middle.|
|No text decoration is used.|
|The text content of the element is displayed with a line at the top.|
|The text content of the element is underlined.|
Example HTML code 1:
This example illustrates the use of the text-decoration property:
Did you find this example helpful?
Supported by tags:
User Contributed Comments