| text-decoration |
| Whereas Font Properties control the display options of the type of your document, Text Properties control the options pertaining to the layout and appearance of the paragraphs in which the text is presented.
Some text properties include text capitalization and minor effects such as blinking and underlined sections of text. text-decoration This property is used for the minor text effects of under / over lining, line through (strikeout), and blinking. The default is to have no effects: plain text. All the effects may be combined in one statement (excepting, of course, the value 'none'). text-decoration values none This value is mainly used to reset to normal text from a previous instance involving text-decoration statements. syntax {text-decoration: none} underline This value will underline the text elements upon which it was invoked. syntax {text-decoration: underline} line-through This value will place a strike out line through the middle of the text upon which it was invoked. syntax {text-decoration: line-through} blink This value will cause the text to blink. syntax {text-decoration: blink} EXAMPLES: H2, H3 {text-decoration: overline; text-decoration: underline} Since text-decoartion values can be used together, this statement will cause the text heading levels H2 and H3 to display a line above (overline) and a line below (underline) when invoked. P EM {text-decoration: blink} This example will cause the text heading level P to blink when invoked. |