![]() |
The Syntax/* Example of using the text-decoration property */
.element {
text-decoration: [value];
}
|
Text Decoration Value | Description |
---|---|
none | Default value. No text decoration is applied. |
underline | Adds an underline to the text. |
overline | Adds a line above the text. |
line-through | Adds a line through the middle of the text. |
blink | Causes the text to blink. (Note: Not widely supported and considered obsolete.) |
text-decoration
property is often used in conjunction with the :hover
pseudo-class for interactive effects.Reffered: https://www.geeksforgeeks.org
CSS |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 13 |