CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS text-decoration property




The CSS text-decoration property is use to set decorate (for example. underline,ovrline, etc.) of an elements.


Property Values


Properties Value Description
Syntax text-decoration:value;
value   underline
  overline
  line-through
  blink
  none
  inherit
Allow to All elements
Inherited No

Example-Code:

<p style="text-decoration:underline;">Text is underline decorate</p>
<p style="text-decoration:overline;">Text is overline decorate</p>
<p style="text-decoration:blink;">Text is blink decorate</p>
<p style="text-decoration:line-through;">Text is line delete decorate</p>
<p style="text-decoration:none;">Text is Nothing any decorate value</p>
Online Try This Code Your Self....   »

Example-Result:

Text is underline decorate

Text is overline decorate

Text is blink decorate

Text is line delete decorate

Text is Nothing any decorate value