Open main menu

CDOT Wiki β

CSS GUIDE TEXT DECORATION

Revision as of 07:08, 12 March 2009 by Janejoe (talk | contribs) (See Also)

Summary

The text decoration property is used to set text decoration (formatting) like underline, blink, line-through etc.

  • Applies to: all
  • Inherited: no
  • Percentages: N/A
  • Media: visual
  • Computed value: as specified

Syntax

TARGET_ELEMENT{text-decoration: value ;}

Legal Values

noneSpecifies that no text decoration is to be used.
underlineUnderlines text.
overlinePlaces a line over the text.
line-throughPlaces a line(strike) through the text.
blinkCauses the text to blink.

Mozilla Recommended Values

Usage Examples

p{text-decoration: line-through;}

p{text-decoration: underline;} 

Notes

Specification Conformance

Browser Compatibility

See Also

PLACE exam FTCE test failure reveals how to rip through the FTCE test. DON'T be another FTCE test victim. Breakthrough FTCE study guide shows the secret you need to pass your FTCE test right now.