HTML Code for Strikethrough

Understanding Strikethrough in HTML

Strikethrough is a text formatting feature used to draw a line through a piece of text. It is commonly used to indicate deleted or outdated information on a webpage.

Applying Strikethrough in HTML

To apply strikethrough in HTML, the <strike> tag was traditionally used, but it has been deprecated in HTML5. Instead, the <s> tag or the <del> tag should be used to represent strikethrough text.

Example Code

<p>This is <s>strikethrough</s> text</p>

Go from files to website in seconds.

Start a free trial for 7 days — no credit card required

Get Started for Free