text-decoration-style CSS property defines the style of the lines specified by the
The following table summarizes the usages context and the version history of this property.
All elements. It also applies to
|Animatable:||No. See animatable properties.|
|Version:||New in CSS3|
The syntax of the property is given with:
The example below shows the
text-decoration-style property in action.
ExampleTry this code »
text-decoration-style: dotted; /* Firefox */
text-decoration-style: dotted; /* Standard syntax */
The following table describes the values of this property.
||The line is displayed as a single line. This is default value.|
||The line is displayed as a double line.|
||The line is displayed as a dotted line.|
||The line is displayed as a dashed line.|
||The line is displayed as a wavy line.|
||Sets this property to its default value.|
||If specified, the associated element takes the computed value of its parent element
text-decoration-style property is not supported in most of the browsers.
text-decoration-style property is currently not supported by the most of the browsers. You should better avoid using this property.