text-decoration
Introduction
The text-decoration shorthand CSS property sets the appearance of decorative lines on text.
Examples

Syntax
Values
text-decoration-line
The text-decoration-line CSS property sets the kind of decoration that is used on text in an element.
-
none
Default value. Produces no text decoration. -
underlineEach line of text has a decorative line beneath it. -
line-throughEach line of text has a decorative line going through its middle.
text-decoration-color
The text-decoration-color CSS property sets the color of decorations.
text-decoration-style
The text-decoration-style CSS property sets the style of the lines specified by text-decoration-line.
-
solidDraws a single line. -
doubleDraws a double line. -
dottedDraws a dotted line. -
dashedDraws a dashed line. -
wavyDraws a wavy line.
Formal definition
| Initial value | empty value |
| Applies to | text |
| Inherited | yes |
| Animatable | no |
Differences from Web
- Not support
text-decoration-thickness - Not support multiple decoration lines.
Compatibility
LCD tables only load in the browser