Easy Tutorial
❮ Tag Dfn Ev Onbeforeprint ❯

HTML <s> Tag

Example

Mark text that is no longer accurate:


Browser Support

All major browsers support the <s> tag.


Tag Definition and Usage

The <s> tag specifies text that is no longer correct, accurate, or relevant.

The <s> tag should not be used to define replaced or deleted text. To define replaced or deleted text, use the <del> tag.


Differences Between HTML 4.01 and HTML5

In HTML 4.01, the <s> element was deprecated and used to strikethrough text.

HTML5 redefined the <s> element, now used to mark text that is no longer correct.


Global Attributes

The <s> tag supports HTML's global attributes.


Event Attributes

The <s> tag supports HTML's event attributes.

❮ Tag Dfn Ev Onbeforeprint ❯