Text Decoration

The CSS text-decoration property can be used to decorate a text in a html page. The text-decoration values are: none, underline, overline, line-through.

Text Decoration properties are:

  • text-decoration: none;
  • text-decoration: underline;
  • text-decoration: overline;
  • text-decoration: line-through;

Text Decoration example:

<html>
<head>

</head>
<body>

The CSS tutorial.

CSS text-decoration underline

CSS text-decoration overline

CSS text-decoration line-through.

</body> </html>

Text Decoration result:






The CSS tutorial.

CSS text-decoration underline

CSS text-decoration overline

CSS text-decoration line-through.