CSS Text Decoration
The text-decoration property can be used to add decorative lines to text.
These can be underlines, strikethrough lines, and even wavy lines (on most browsers).
The basic usage of text-decoration takes a simple value - none, underline, or linethrough.
Syntax -
The text-decoration values are given as follows -
-
Underline
-
Line-through
-
None
Now we will see Example -
Example -
Output -