<s>
The <s> HTML element indicates text that is no longer relevant or accurate, styling text as strikethrough by default.
Overview
The <s> HTML element indicates text that is no longer relevant or accurate, styling text as strikethrough by default.
Browser support
| Feature | Desktop | Mobile | ||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Safari | Chrome Android | Safari iOS | |
| 1 | 12 | 1 | ≤4 | 18 | ≤3.2 | |
1+Supported (version) Not supported ※Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)
Notes 1 item(s)
Implementation note
- Before Firefox 4, this element implemented the `HTMLSpanElement` interface instead of the standard `HTMLElement` interface.
Syntax
HTML
<p><s>Today's Sale: 30% Off Everything</s></p>
<p>The sale has ended.</p> Live demo
S and del. Difference
S is related. lowbottom, del is delete meaning.usage. Difference comparison.
PreviewFullscreen
Use cases
Using <s>
The <s> HTML element indicates text that is no longer relevant or accurate, styling text as strikethrough by default.
Cautions
- May not be supported in older browsers.
Accessibility
- Verify how this element is announced by screen readers.
Related links
Powered by web-features