Text DecorationYou can "decorate" text with CSSthat is, apply or remove a particular decorative value. This is done using the text-decoration property, with values as follows:
Example 9-5 serves up an inline CSS sample for decorating text. Example 9-5. Decorating text with CSS<p style="text-decoration: underline;">This text is underlined</p> <p style="text-decoration: overline;">This text has an overline</p> <p style="text-decoration: line-through;">This text has a line-through</p> <p style="text-decoration: blink;">This text blinks</p> Figure 9-9 shows the results, with the exception of the blink. Figure 9-9. Decorating text with CSStry out the sample CSS to see the blink. |