871 B
871 B
title |
---|
Text Decoration Property |
Text Decoration Property
The text-decoration property specifies the decoration added to text. It has 6 possible values:
.none {text-decoration: none}
.underline {text-decoration: underline}
.line-through {text-decoration: line-through}
.overline {text-decoration: overline}
.initial {text-decoration: initial}
.inherit {text-decoration: inherit}
Note: In CSS3 you can use the text-decoration-color property to change the color of the decoration, otherwise the color is the same as the color of the text.
More Information:
Docs: Mozilla Developer Network
Browser Support: Caniuse