Skip to content

<s> - The Strikethrough Element

Inline HTML5

The strikethrough element represents text that is no longer accurate or no longer relevant, typically rendered with a line through it.

Result
<s>text that is no longer accurate</s>

The <s> element indicates text that is no longer valid but is kept for reference.

Critical distinction for proper semantic markup:

<!-- No longer accurate or relevant -->
<p><s>Ships in 5-7 days</s> Ships in 2-3 days</p>
<p><s>Out of stock</s> In stock</p>

Use when information is outdated but not deleted.

Result
Result
Result
Result
Result
Result
Result
Result
Result

Customize strikethrough appearance:

Result
Result
<p>This is <s>not</s> a good idea.</p>
<p>Price: <s>$99</s> $79 (correction)</p>
<!-- No longer accurate -->
<p><s>Ships tomorrow</s> Ships next week</p>

Show both old and new information:

Result

Some screen readers announce strikethrough text, but support varies. Always provide context.

<p><s>Available</s></p>

For complex updates:

<p>
<s aria-label="Previous status: sold out">Sold out</s>
<span aria-label="Current status: in stock">In stock</span>
</p>

Combine strikethrough with other indicators:

Result
BrowserVersionNotes
Chrome1+Full support
Firefox1+Full support
Safari1+Full support
Edge12+Full support
IE5.5+Full support

The <s> element has excellent browser support across all versions.