CSS Examples: text-decoration


Underlined Header

If you want to strike out text, use line-through.

and now an overlined header.

This link will not be underlined , as most links are by default. Be careful with removing the text decoration on links since most users depend on the underline to signify a hyperlink.

Styles Used

h1.under {
	text-decoration: underline;
h1.over {
	text-decoration: overline;
p.line {
	text-decoration: line-through;
p.blink {
	text-decoration: blink;
a.none {
	text-decoration: none;