HTML <s> Tag


The <s> HTML tag, also known as the "strikethrough" tag, is used to indicate text that has been deleted or crossed out within a document. When applied to a portion of text, it renders that text with a horizontal line through its center, typically to signify that the content has been removed or is no longer relevant. While it visually strikes through the text, it does not necessarily imply that the text should be completely ignored; its meaning may vary depending on the context in which it is used. The <s> tag is often paired with the <del> tag to provide additional semantic information about the deleted content.


Permitted Parents
Any element that accepts phrasing content
Inline and text
Start/End Tags
Start tag: required, End tag: required


This tag will put a <s>line through</s> the middle of the text



Global Attributes

The <s> tag also supports the Global Attributes in HTML5

Event Attributes

The <s> tag also supports the Event Attributes in HTML5

Browser Support

The following table will show you the current browser support for the HTML <s> tag.

Edge Chrome Firefox Opera Safari
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview

Last updated by CSSPortal on: 30th September 2023