CSS text decoration line

CSS text decoration line is used to define the type of line for text decoration.



This is the heading

This is a paragraph to show text decoration property.

CSS text decoration line values list

Sr. No.valueDescription
1noneUsed to define the no decoration of the text. The value for this is none.
2underlineUsed to make the text underline. The value for this is underline.
3overlineUsed to make the text appear line over it. The value for this is overline.
4line-throughUsed to make the text to appear like deleted text. The value for this is line-through.
5initialUsed to define as the property initial value.
6inheritUsed to define the computed value of property on the elements parent.
7unsetUsed to define the property either acts as inherit or initial, depending on the property if it is inherited or not.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.