HTML strike-thru tag: “s” vs “strike” vs “del” and HTML5

Advertise Here

,

In html, if you want a line to strike-thru text, there are the following ways:

<s>something</s>
<strike>something</strike>
<del>something</del>

The <strike> is not supported in HTML5. The difference between “s” and “del” is that “del” carries a semantic meaning of deleted text. Both are rendered the same. Here's how they renders in your browser:

blog comments powered by Disqus