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
Published on 13-Apr-2018 14:56:11
Advertisements