object.style.textDecorationLine = "value";
<'text-decoration-line'> = none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error
Neither produces nor inhibits text decoration.
Each line of text is underlined.
Each line of text has a line over it.
Each line of text has a line through the middle.
The text blinks.
Indicates the type of text decoration used by the user agent to highlight spelling mistakes.
Indicates the type of text decoration used by the user agent to highlight grammar mistakes.