HTML <s> Tag

The <s> tag is used to define a text, which is not relevant any more. Browsers display the tag content as a strikethrough text.

For example, the tag can be used to show new price of the product, whilst still displaying its original price but with a line through the middle.

Don’t use the <s> tag to define a deleted text, use the <del> tag for that purpose.


The <s> tag comes in pairs; the content is written between the opening (<s>) and the closing (</s>) tags.


<!DOCTYPE html>
    <title>Title of the document</title>
    <p><s>I am studying in high school.</s></p>
    <p>I am studying in an university.</p>



The <s> tag supports Global attributes and the Event Attributes.

Browser support