CSS: Text Decoration: Underline, Overline, Line-Through

By Xah Lee. Date: . Last updated: .

text-decoration: underline

text-decoration: overline

text-decoration: line-through

text-decoration: none

text-decoration: underline
underline
text-decoration: overline
overline
text-decoration: line-through
line-through
text-decoration: none
none

Note: initial value may not be supported by Internet Explorer, as of 2014-05-10.

JS in Depth
XAH  BUY NOW

CSS

Basics

Color

Font

Text Decoration

Box Model

Box Decoration

Layout

Layers

Transform/Animation

Line Wrap

Misc