The Strikethrough feature marks a part of the text that is no longer relevant.

UI / UX

  • UI: ON/OFF feature, usually represented as a switch button with the “Strikethrough” icon
  • Title: “Strikethrough”
  • Keystroke: —

HTML Markup

The <s> element MUST be used to represent the Strikethrough feature as it is intended to mark parts of content that are no longer relevant[1].

Example:

HTML 4 <s>is</s> was the best HTML ever.

References

  1. The <s> element definition in the HTML5 standard.