New in HTML5.

<s> HTML Tag

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
Element of
Learn How Fonts And Web Typography Work In HTML: A Beginner's Guide
What does <s> HTML Tag do?
The <s> element is used to identify text that is no longer accurate or relevant. It is similar to, but semantically distinct from, the <del> element which is used to identify document edits. By default, browsers render the contents of an <s> element with a strikethrough.

Code Example

<p>My favorite species of flamingo is the <s>Lesser flamingo</s> <s>Andean flamingo</s> Chilean flamingo.</p>

My favorite species of flamingo is the Lesser flamingo Andean flamingo Chilean flamingo.

Crossing Out

<s> is used to strike out text. The content of the <s> tag is displayed with a line through it. <s> was removed from the HTML 4 specification, but has been reintroduced in HTML 5 as a way to mark something that is no longer correct.

Correct Usage

In previous iterations of HTML, <strike>, that was used for the same purpose as <strike>. However, <strike> is now deprecated in HTML 5. Additionally, note that the <del> element should be used for text that has been deleted, rather than incorrect, since <del> provides the option to add a date stamp.

Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for and runs a content agency, Red Robot Media.

Browser Support for s