HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

text-decoration-style

Description

The text-decoration-style property for CSS sets the line-drawing style of underlines, overlines, and line-throughs specified on the element with text-decoration-line, and affects all decorations originating from this element even if descendant boxes specify a different style.

Syntax

CSS

text-decoration-style: value;

JS

object.style.textDecorationStyle = "value";

Values

<'text-decoration-style'> = solid | double | dotted | dashed | wavy
solid

Indicates a solid line.

double

Indicates a double line.

dotted

Indicates a dotted line.

dashed

Indicates a dashed line.

wavy

Indicates a wavy line.

Initial

solid

Examples

1 · solid

2 · double

3 · dotted

4 · dashed

5 · wavy

6 · JS