CSS text-decoration-color Property
CSS text-decoration-color Property CSS text-decoration-color Property The CSS text-decoration-color property is used to specify the color of text decoration lines such as underline, overline, and line-through. By default, when a text decoration is applied, the line takes the same color as the text itself. Syntax: selector { text-decoration-color: color; } CSS text-decoration-color Property Example <! DOCTYPE html > < html > < head > < style > p { text-decoration : underline ; text-decoration-color : red ; } h3 { text-decoration : underline ; text-decoration-color : blue ; } </ style > </ head > < body > < h1 > Text Decoration Color Property </ h1 > < h3 > Underline with red color </ h3 > < p > The text-decoration-color property in CSS is used to set the color of text decoration lines such as underline, overline, and lin...