/

HTML / CSS / JavaScript Tutorial

CSS Property: text-decoration-color

[this page | pdf | back links]

The CSS (CSS3) text-decoration-color property indicates the colour of the text decoration added to a given piece of text. For this property to have an effect, a visible text-decoration needs to have been applied to the text.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

color

A CSS colour

 

Default Value:

Colour of text

JavaScript syntax:

e.g. object.style.textDecorationColor="red"

Inherited:

No

Animatable:

Yes

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile