Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

text-decoration-line

3 tags 1 category

The text-decoration-line CSS property sets the kind of decoration that is used on text in an element, such as an underline or overline.

When setting multiple line-decoration properties at once, it may be more convenient to use the text-decoration shorthand property instead.

Values: This property is specified either as none or a space-separated list of keyword values chosen from the list below:

Values: none Produces no text decoration. underline Each line of text has a decorative line beneath it. overline Each line of text has a decorative line above it. line-through Each line of text has a decorative line going through its middle. blink The text blinks (alternates between visible and invisible). Conforming user agents may not blink the text. This value is deprecated in favor of CSS animations. spelling-error Each line of text uses the user agents’ method of highlighting spelling mistakes, which is a dotted red line in most browsers. grammar-error Each line of text uses the user agents’ method of highlighting grammar mistakes, which is a dotted green line in most browsers.

Syntax example: text-decoration-line: none;

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…