p { text-decoration: underline; } .ex1 { text-decoration-color: red; }
<!DOCTYPE html> <html lang="ko"> <head></head> <body> <h1>text-decoration-color</h1> <p>This is none color.</p> <p class="ex1">This is red.</p> </body> </html>