CSS text-decoration-style Property
The text-decoration-style property sets the style of the lines specified by text-decoration-line.
Note: The style applies to all lines that are set with text-decoration-line.
If the specified decoration has a specific semantic meaning, like a line-through line meaning that some text has been deleted, authors are encouraged to denote this meaning using an HTML tag, like <del> or <s>. As browsers can disable styling in some cases, the semantic meaning won't disappear in such a situation.
When setting multiple line-decoration properties at once, it may be more convenient to use the text-decoration shorthand property instead.
The numbers in the table specify the first browser version that fully supports the property.
The following table describes the values of this property.
|This is default value. Specifies the line will display as a single line.
|Specifies the line will display as a double line.
|Specifies the line will display as a dotted line.
|Specifies the line will display as a dashed line.
|Specifies the line will display as a wavy line.
|Sets this property to its default value.
|If specified, the associated element takes the computed value of its parent element animation-delay property.
|Reverts the cascaded value of the property from its current value to the value the property
|Rollback styles to the ones specified in previous cascade layers.
|Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.
Default CSS Property Values