AdBlock Detected!
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.
CSS Text-Decoration Property |
The text-decoration property specifies how text is decorated. Possible values are:
Below are examples of text-decoration: Example 1: Underline CSS Declaration
The following HTML,
renders: This is an underline example. Example 2: Overline CSS Declaration
The following HTML,
renders: This is an overline example. Example 3: Line-through CSS Declaration
The following HTML,
renders: This is a strike-through example. In CSS3, the text-decoration has become a shorthand for the following three properties: Many modern browsers do not yet support these three properties. So before you use any of these three properties, make sure you test it before releasing the code to ensure the desired effects are visible on current browsers. Text-decoration-lineThe text-decoration-line property has the same effects as the original text-decoration property. It has the same possible values:
Text-decoration-colorThe text-decoration-color property specifies the color of the text decoration line. Possible values include:
For detailed explanations of each value type, see the CSS color property page. text-decoration-styleThe text-decoration-style property defines the style of the text decoration line. Possible styles include the following:
|
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.