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

text-decoration-line

Description

The text-decoration-line property for CSS 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 ] | spelling-error | grammar-error
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.

spelling-error

Indicates the type of text decoration used by the user agent to highlight spelling mistakes.

grammar-error

Indicates the type of text decoration used by the user agent to highlight grammar mistakes.

Initial

none

Examples

1 · none

2 · underline

3 · overline

4 · line-through

6 · spelling-error

7 · grammar-error

8 · JS