text-decoration:;



The css property text-decoration can be used to change attributes of text. Changing the value to none can remove the underline from hyperlinks. To change the color of the text, a different tag called color; is needed.

Properties:

Value Description
none Defines a normal text. This is default
underline Defines a line below the text
overline Defines a line above the text
line-through Defines a line through the text
blink Defines a blinking text
inherit Specifies that the value of the text-decoration property should be inherited from the parent element

Examples:

text-decoration: blink;

text-decoration: line-through;

the rain in spain

text-decoration: none;

the rain in spain

text-decoration: overline;

the rain in spain

text-decoration: underline;

the rain in spain