O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Decorating Text

Style sheets let you adorn your text with underlines and lines through the text (perhaps to indicate changes) Image.

Image Here’s the entire style sheet for the page Image, including the text-decoration changes to the links. However, you don’t have to restrict underlining or other text decorations to a elements. They can be applied to other elements too.

body {     background: #eef;     color: #909;     font: 100% "Palatino Linotype", Palatino, serif; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required