Home Menu

text-decoration-style

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

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms