Last Updated on April 26, 2023 by Roshan Parihar
HTML strike tag is used inside webpages to specify strikethrough text.
Syntax
1 |
<strike>put strike content here...</strike> |
This is the example of strike tag to show price of a product.
1 |
<p>You can purchase your T-shirt in discounted price <strike>$26</strike>$20.</p> |
Output
You can purchase your T-shirt in discounted price $26 $20.
The strike tag is obsoleted tag. See W3C Specification for this tag.