CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS text decoration line Property

CSS text-decoration-line Property

 

 

The text-decoration-line property is used to set the kind of text-decoration to use like underline, overline, or line-through.

 

Default Value:-

 

Its default value is none.

 

Syntax:-

 

Its syntax is:- text-decoration-line: none | underline | overline | line-through | initial | inherit;

 

Further Explanation:-

 

Value Description
none Specifies no line for the text-decoration
underline Specifies that a line will be displayed under the text
overline Specifies that a line will be displayed over the text
line-through Specifies that a line will be displayed through the text
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS