HTML Dog
Skip to navigation

CSS Property: text-decoration

Underlined, overlined, and struck-through text.

Possible Values

ValueDescription
none
underlineHorizontal line underneath text.
overlineHorizontal line above text.
line-throughStrikethrough. Horizontal line through the middle of text.
inherit
initial
unset

Example


a:hover { text-decoration: none; }