CSS text-decoration Property


The text-decoration property decorates the text.
Inherited: No
Note: The color of the decoration should be set by the "color" property.

JavaScript Syntax

CSS properties can also be dynamically changed with a JavaScript.
Scripting Syntax:"overline"


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)

Goto CSS3 and CSS2 complete reference
CSS text-decoration Property Reviewed by 1000sourcecodes on 10:05 Rating: 5
Powered by Blogger.