Text Decoration
How to create a text with over line or under lining in html?
I want to have a striked text / word ? How to create a blinking under lined text in html?
Text Decoration
Usage:
text-decoration: underline;
text-decoration: overline;
text-decoration: line-through;
text-decoration: blink;
Definition:
Using this attribute we can decorate out text. The words can be made to blink, striked words, etc...
It takes the following values.
1) underline : You can under line the text or word by using this value.
2) overline : You can over line the text or word by using this value
3) line-through : You can strike through the text or word by using this value
4) blink : You can make the text to blink by using this value.
Example 1:
I want to have a striked text / word ? How to create a blinking under lined text in html?
Text Decoration
Usage:
text-decoration: underline;
text-decoration: overline;
text-decoration: line-through;
text-decoration: blink;
Definition:
Using this attribute we can decorate out text. The words can be made to blink, striked words, etc...
It takes the following values.
1) underline : You can under line the text or word by using this value.
2) overline : You can over line the text or word by using this value
3) line-through : You can strike through the text or word by using this value
4) blink : You can make the text to blink by using this value.
Example 1:
<font style="text-decoration: underline;">Text Decoration </font> Result:
Text Decoration
Example 2:
<div style="text-decoration: overline;"> Text Decoration </div> Result:
Text Decoration
Example 3:
<h5 style="text-decoration:line-through;">Text Decoration </h5>
Result: Text Decoration
Example 4: [IE and some older version of browsers might not support this value]
<font style="text-decoration: blink;">Text Decoration</font> Result:
Text Decoration
Example 5:
<font style="text-decoration: underline overline blink;">Text Decoration</font> Result:
Text Decoration