This feature is obsolete. Although it is still supported by browsers, its usage is discouraged in new projects. Try to avoid using it.
The HTML Strikethrough Element (
<strike>) renders text with a strikethrough, or a line through it.
<strike>has been deprecated in HTML 4 and XHTML 1, and obsoleted in HTML5. If semantically appropriate, i.e., if it represents deleted content, use the
<del>instead; in all other cases use a
<span>element and style it with the CSS
text-decorationproperty, with the
This element has no other attributes than the global attributes, common to all elements.
This element implements the
Implementation note: up to Gecko 1.9.2 inclusive, Firefox implements the
HTMLSpanElement interface for this element.
<strike>Today's Special: Salmon</strike> NO LONGER AVAILABLE<br /> <span style="text-decoration:line-through;">Today's Special: Salmon</span> SOLD OUT
Today's Special: Salmon NO LONGER AVAILABLE
Today's Special: Salmon SOLD OUT
<s>element, alter ego of the
<strike>element and, like it, obsolete.
<del>element is to be used instead if the data has been deleted.
- The CSS
text-decorationproperty is to be used to achieve the former visual aspect of the