SitePoint
Reference
CSS
Typographical Properties
text-decoration
CSS Live Demo: text-decoration
(this page)
See also:
All Live Demos
CSS Live Demo: text-decoration
Type your
CSS
here:
(any properties allowed except expression, behavior and @import)
a:link { font-weight:bold; text-decoration:none; } a:visited { font-weight:bold; text-decoration:line-through; } a:hover, a:focus { text-decoration:underline overline; }
Type your
HTML
here:
(any tags allowed except script, iframe, frame, object, img and embed)
<p><a href="http://www.sitepoint.com/books/jsant1/">The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks</a> provides you with tried and tested real-world solutions to your web scripting problems. Following the same format as SitePoint's hugely popular <a href="http://www.sitepoint.com/books/cssant2/">The CSS Anthology</a>, this is the most complete question-and-answer book on JavaScript. It's a collection of over 100 thoroughly-tested, customizable and elegant solutions that will show you how to add usable and accessible interactivity to your site: from slick drop-down menus, to style sheet switchers, to Ajax applications, and much more.</p>
Show me!
Your results appear here: