Friday, July 1, 2011

CSS Text

CSS text-decoration

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:
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


<*style type="text/css">
a:hover { text-decoration:none }
<*/style>
<*div>CSS Properties<*/div>
<*p>The above hyperlink has been decorated using the css text-decoration property. Note that removing underlines from hyperlinks can cause usability issues so try to use it cautiously (if you want users to click on your hyperlinks that is!).<*/p>
PLEASE Remove All Asterics *


THANK YOU

No comments:

Post a Comment