Options for text-decoration in CSS

The different options for text-decoration property in CSS are

  • none
  • underline
  • overline
  • line-through
  • blink

We can use a combination of these options in our CSS as shown below:

a:link, a:visited {
  text-decoration: underline overline;

Enjoyed this post? Share it!


Leave a comment

Your email address will not be published.