HTML s Tag

HTML<s>Tag: The HTML<s> tag defines the text that is not correct, not accurate or not relevant. And this HTML s tag is similar but slightly different from the <del> tag. It is not used to replaced or deletes text but <del> tag is used to replaced or delete the text.


This HTML s tag supports both the global and the event attributes.

Syntax: <s>Text</s>

Browser compatibility

The HTML<s> tag is supported by different types of browsers.

  • Chrome
  • Firefox
  • Opera
  • Safari
  • Internet Explorer


<!DOCTYPE html>
<p><s>My favourite language is HTML</s></p>
<p>My favourite language is CSS.</p>


My favourite language is HTML
My favourite language is CSS.