HTML: What's the Difference Between “s” vs “strike” vs “del” Tags

By Xah Lee. Date: . Last updated: .

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:

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

Liket it? Put $5 at patreon.

Or, Buy JavaScript in Depth

If you have a question, put $5 at patreon and message me.