CSS HTML Validator - The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: "text-decoration" CSS property

The "text-decoration" CSS Property


This shorthand property sets several text-decoration properties in one declaration.

Values for "text-decoration"
CSS LevelValue
CSS 2.1"none | [ underline || overline || line-through || blink ]"
CSS3"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'>"
CSS4"<'text-decoration-line'> || <'text-decoration-thickness'> || <'text-decoration-style'> || <'text-decoration-color'>"


  • Omitted values are set to their initial values.
  • The "blink" value is deprecated in favor of animations. Furthermore, "blink" is not widely supported, and user agents that recognize "blink" may choose not to blink the text.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem