CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS text decoration style Property

CSS text-decoration-style Property

 

 

The text-decoration-style property is used to set the style of the text-decoration like solid, wavy, dotted, dashed, or double.

 

Default Value:-

 

Its default value is solid.

 

Syntax:-

 

Its syntax is:- text-decoration-style: solid | double | dotted | dashed | wavy | initial | inherit;

 

Further Explanation:-

 

Value Description
solid The line will display as a single line.
double The line will display as a double line.
dotted The line will display as a dotted line.
dashed The line will display as a dashed line.
wavy The line will display as a wavy line.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS