Widely availableSupported across all major browsers. Safe to use in production.

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

strikethroughlinetext

S element in accurate in info or related that thininfo show.

PreviewFullscreen

S and del. Difference

S is related. lowbottom, del is delete meaning.usage. Difference comparison.

PreviewFullscreen

task. Donedisplay

S element in Donetask strikethroughline in displaypattern.

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.

Powered by web-features