Quackit Logo

Got a MySpace Page?

Get "www.yourname.com" for your MySpace page. Learn how >>.

CSS text-decoration

Print Version

Also see the full, alphabetical list of CSS properties


The CSS text-decoration property is used for adding or removing decoration from the text. For example, you can remove underlines on hyperlinks, underline normal text, add a line above or through the middle of the text, or make the text blink.

Syntax: text-decoration: <value>
Possible Values:
  • none
  • underline
  • overline
  • line-through
  • blink
  • inherit
Initial Value: none
Applies to: All elements
Inherited: No
Media: Visual
Example:
a:hover { text-decoration:none }
Try it yourself! HTML Editor


Also see all CSS properties listed alphabetically


Enjoy this website?

  1. Link to this page (copy/paste into your own website or blog):
  2. Add this page to your favorite social bookmarks sites:
                     
  3. Add this page to your Favorites

Oh, and thank you for supporting Quackit!