Decorative line

text-decoration-line

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;
text-decoration-line

style > character > text-decoration-lineDecorative line

Q