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:

ValueDescription
noneDefines a normal text. This is default
underlineDefines a line below the text
overlineDefines a line above the text
line-throughDefines a line through the text
blinkDefines a blinking text
inheritSpecifies 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