Text-decoration

The   property is used in CSS and certain HTML elements. It renders a certain kind of effect to the text.

Values

 * - Renders no text decoration.
 * - Renders a line underneath each line of text.
 * - Renders a line above each line of text.
 * - Renders a line through the middle of each line of text.
 * - Renders blinking (flashing) text. Internet Explorer and Safari ignore this value, but Mozilla Firefox and Opera do not.

One or more values can be used be separating them with a space.

To apply this in HTML, use:

Decorated text.

That produces: Decorated text.

This is text with all the values applied: Decorated text.

To apply this in CSS, in the  element for example, use:

h1 { text-decoration:underline overline line-through blink; }

Image example: