Skip to content

How to create a strikethrough in CSS?

h1 {
  text-decoration: overline;

h2 {
  text-decoration: line-through;

h3 {
  text-decoration: underline;
See also  Java code snippet - How to center window?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.