Menu Samaritan's Purse

TEXT-DECORATION-STYLE

The text-decoration-style property 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

SOLID

DOUBLE

DOTTED

DASHED

WAVY

JS

INTERNAL

text-decoration

text-decoration-color

text-decoration-line

text-decoration-skip-ink

text-decoration-thickness

EXTERNAL

World Wide Web Consortium (W3C)