HTML s and strike tags


Strikethrough text can be marked up as follows:
<p>Version 2.0 is <s>not yet available!</s> now available!</p>
<p>Version 2.0 is <strike>not yet available!</strike> now available!</p>

Definition and Usage

The <s> and <strike> tags defines strikethrough text.

Browser Support

The <s> and <strike> tags are supported in all major browsers.
Note:The s and strike elements are deprecated.

Differences Between HTML and XHTML

The <s> and <strike> elements were deprecated in HTML 4.01, and are not supported in XHTML 1.0 Strict DTD.

Share this article :
Copyright © 2012. Best Online Tutorials | Source codes | Programming Languages - All Rights Reserved