The HTML
<s></s> element has been deprecated since HTML 4 in favor of the CSS text-decoration:line-through;. It is now obsolete in HTML5. This element renders text with a line crossing them out, similar to the <strike> element. If it represents deleted text, use the <del> element instead.
Attributes
- Global Attributes
HTML example:
<s>Text on strike</s>
That will produce: Text on strike
- Using
text-decoration...
<span style="text-decoration:line-through;">TEXT</span>
That produces: TEXT