Definition

The text-decoration property decorates the text.

The text-decoration property allows text to be decorated through one of five properties: underline, overline, line-through, blink, or the default, none.

Inherited: No
Note: The color of the decoration should be set by the "color" property

For example, one can suggest that links not be underlined with

A:link, A:visited, A:active { text-decoration: none }

Example

p { text-decoration: underline }

Possible Values

Value-Description
none-Default. Defines a normal text
underline-Defines a line under the text
overline-Defines a line over the text
line-through-Defines a line through the text
blink-Defines a blinking text (does not work in IE and Opera)

Sources
http://www.w3schools.com/css/pr_text_text-decoration.asp
http://htmlhelp.com/reference/css/text/text-decoration.html


Page Information

  • 10 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts