CSS text-decoration

Previous Next

Demo of the different values of the text-decoration property.

Click the property values below to see the result:

text-decoration: underline;
text-decoration: underline blue;
text-decoration: overline;
text-decoration: line-through;
text-decoration: underline overline;
text-decoration: underline overline dotted red;

Decorate me!

Decorate me!

Decorate me!

Decorate me!

Decorate me!

Decorate me!

Play more with the code in our Tryit yourself editor: Try it Yourself ❯