CSS text-decoration-style Property


The text-decoration-style property sets the style of the text decoration (like solid, wavy, dotted, dashed, double).

The text-decoration-style property sets the style of the underline on links and the underline, overline, or line-through on any text with text-decoration applied.

CSS Syntax

text-decoration-style: solid|double|dotted|dashed|wavy|initial|inherit;

Example -