Explore the Concepts and Tools in Cascading Style Sheets


show more Text decoration options provides you with in-depth training on Web. Taught by James Williamson as part of the CSS: Core Concepts show less
please wait ...

Text decoration options

CSS allows us to apply decorative effects to our text through the text-decoration property. While you'll probably use this property to remove default underline styling from text the majority of the time, you can add other useful and sometimes not so useful decorations to your text as well, so let's check out our options. Here I have the decoration.htm file open. You can find that in the 04_07 directory. And you can see exactly what I have going on here in the structure of the page, after a heading in the paragraph, I have an unordered list and inside that unordered list I have several list items, one of them includes a link to lynda.com.

We have a couple of list items with classes applied with all the different text-decoration properties that we can use, underline, over-line, line, and blink. I'm just going to preview this in my browser, so that you can see it before the styling is applied to it. So here is my default styling of a link, and in this case it's underscored and purp...

Text decoration options
Video duration: 4m 26s 8h 52m Beginner

Viewers:

Text decoration options provides you with in-depth training on Web. Taught by James Williamson as part of the CSS: Core Concepts

Subject:
Web
Software:
CSS
Author:
please wait ...