CSS text-decoration property
Usage
Can be used to add various forms of decoration to text. A common use of this property is to remove underlines from hyperlinks.
Values
- none - no decoration
- underline - places a line under text
- overline - places a line above text
- line-through - places a line through text
- blink - causes the text to blink (doesn't work in all browsers)
Example
Code:
p {
text-decoration: underline;
}
a:link {
text-decoration: none;
}