Decorative line
text-decoration-line
![](/img/style/character/text-decoration-star.png)
Choose which type of decorative line to apply to the element's text.
Property values
Use one or two of these keywords:
none | No line |
underline | Place the line beneath the characters |
overline | Place the line above the characters |
line-through | Strike through the characters |
Examples
/* simple strike through */
text-decoration-line: line-through;
/* both underline and overline */
text-decoration-line: underline overline;