HomeMathComputingArtsWordsLiteratureMusictwitter facebook webfeed

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

Advertise Here For Profit

Xah Lee, 2011-06-13

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