HTML: What's the Difference Between “s” vs “strike” vs “del” Tags
In HTML, if you want a line to strike-thru text, there are the following ways:
<s>xyz</s> <strike>xyz</strike> <del>xyz</del>
Here's how they render in your browser:
- “s” →
this line is wrapped with s tag
- “del” →
this line is wrapped with del tag
- “strike” →
this line is wrapped with strike tag
The “s” element represents contents that are no longer accurate or no longer relevant.
The “del” element represents removal of text.
<strike> is not supported in HTML5.
back to HTML5 Tags Complete List
If you have a question, put $5 at patreon and message me.