Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML

Print Version

CSS text-decoration

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!


Also see all CSS properties listed alphabetically


Enjoy this website?

  • Share
  • Add this page to your Favorites
  • Link to this page (copy/paste into your own website or blog):
  • Link to Quackit using one of these banner ads.
  • Help support Quackit by making a donation

Oh, and thank you for supporting Quackit!

© Copyright 2000 - 2010 Quackit.com