CSS Text Decoration, Property

CSS Text Decoration, Property
Text Decoration property is used to draw the line below, above are over the text on the web page. Text decoration has three different attribute. The property are underline, overline, line through.

span{
text-decoration:underline;
}

Underline:
The Underline is used to draw the line under the text.

CSS:
span{
text-decoration:underline;
}

HTML:
<span>Labw3</span>

OUTPUT:
Labw3

Overline:
The Overline is used to draw line the above the text.

CSS:
span{
text-decoration:overline;
}

HTML:
<span>Labw3</span>

OUTPUT:
Labw3

Linethrough:
The Linethrough is used to draw the line over the text.

CSS:
span{
text-decoration:line-through;
}

HTML:
<span>Labw3</span>

OUTPUT:
Labw3
Feature Chrome Firefox IE Opera Safari
Basic support Yes Yes Yes Yes Yes
Copyright Labw3