The text-decoration shorthand CSS property sets the appearance of decorative lines on text. It is a shorthand for text-decoration-line, text-decoration-color, text-decoration-style, and the newer text-decoration-thickness property.
|Initial value||as each of the properties of the shorthand:text-decoration-color: currentcolortext-decoration-style: solidtext-decoration-line: none|
|Applies to||all elements. It also applies to ::first-letter and ::first-line.|
Sets the kind of decoration used, such as underline or line-through.
Sets the color of the decoration.
Sets the style of the line used for the decoration, such as solid, wavy, or dashed.
Sets the thickness of the line used for the decoration.