text-decoration-line

The text-decoration-line CSS property specifies what line decorations, if any, are added to the element.

Syntax

CSS

text-decoration-line: value;

JS

object.style.textDecorationLine = "value";

Values

<'text-decoration-line'> = none | [ underline || overline || line-through || blink ]
none

Neither produces nor inhibits text decoration.

underline

Each line of text is underlined.

overline

Each line of text has a line over it.

line-through

Each line of text has a line through the middle.

blink

The text blinks.

Initial

none

Examples

none

underline

overline

line-through

blink

JS

Internal

text-decoration

text-decoration-color

text-decoration-skip-ink

text-decoration-style

text-decoration-thickness

External

World Wide Web Consortium (W3C)

Home Menu