**`<strike>`** was a purely presentational element from HTML4 with no semantic meaning beyond 'draw a line through this'. HTML5 removed it in favor of two more meaningful alternatives: `<s>` for content that is simply no longer accurate or relevant, and `<del>` for representing a deliberate, trackable deletion from a document (often paired with `<ins>`). Modern browsers don't apply any special styling to `<strike>` at all.
1Understanding <strike>
`<strike>` was a purely presentational element from HTML4 with no semantic meaning beyond 'draw a line through this'. HTML5 removed it in favor of two more meaningful alternatives: <s> for content that is simply no longer accurate or relevant, and <del> for representing a deliberate, trackable deletion from a document (often paired with <ins>). Modern browsers don't apply any special styling to <strike> at all.
When migrating old <strike> markup, ask whether it's showing 'outdated content' (use <s>) or 'a document edit being tracked' (use <del>) — they're not interchangeable even though both render as strikethrough.
<!-- Old, deprecated markup -->
<p><strike>Limited time offer</strike></p>2Practical Example
Here is a real-world application of <strike> showing how it is used in production HTML.
<!-- Correct modern replacement -->
<p><s>Limited time offer</s> — now extended through March!</p>3Best Practices
Follow these guidelines when working with <strike>:
1. Never use <strike> in new code — it's obsolete
2. Replace with <s> for simply outdated/no-longer-relevant content
3. Replace with <del> when representing a specific document edit, ideally paired with <ins>
Tip: When migrating old <strike> markup, ask whether it's showing 'outdated content' (use <s>) or 'a document edit being tracked' (use <del>) — they're not interchangeable even though both render as strikethrough.
<!-- Old, deprecated markup -->
<p><strike>Limited time offer</strike></p>