Strikethrough text with CSS

JavascriptWeb DevelopmentFront End Scripts

Use the text-decoration property to strikethrough text with CSS. You can try to run the following code to underline text:

<html>
   <head>
   </head>
   <body>
      <p style = "text-decoration:line-through;">
         This will be striked through.
      </p>
   </body>
</html>
raja
Updated on 31-Jan-2020 06:05:18

Advertisements