The <s> tag represents content that is no longer accurate or relevant. Browsers typically render it with a strikethrough. Use it for old prices, deprecated labels, or text you want to show but mark as outdated—not for edit history (use <del> for that).
s vs del
<s> indicates that the content is no longer correct or relevant. <del> represents deleted content in a change or edit history and can have cite and datetime attributes. Use <s> when you only need to show that something is outdated; use <del> when you are documenting a deletion.
Best practices
Use <s> for semantic strikethrough: old prices, obsolete terms, or labels that no longer apply. Prefer <s> over plain CSS strikethrough when the meaning “no longer accurate” matters for accessibility and SEO.
