MathCurvesSurfacesWallpaper GroupsGallerySoftwarePOV-Ray
ProgramingLinuxPerl PythonHTMLCSSJavaScriptPHPJavaEmacsUnicode ♥
Web Hosting by 1&1

HTML strike-thru tags: 「s」 vs 「strike」 vs 「del」 and HTML5

Xah Lee,

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>

<strike> is not supported in HTML5. The difference between “s” and “del” is that “del” has the meaning of deleted text, and “s” is just rendering.

Here's how they render in your browser:

blog comments powered by Disqus