HTML <s> tag - how to use <s> tag

The HTML <s> tag is used to define text that is no longer accurate.

Attributes

The <s> tag supports the global and event attributes.

Examples:

<p><s>HTML4 is the latest version of HTML.</s></p> <p>HTML5 is the latest version of HTML.</p>

Related HTML tags:

  • <del> - used to define deleted text
  • <ins> - used to define inserted text