HTML <s>Tag
Examples
Mark text that is no longer correct:
<p><s>My car is blue.</s></p>
<p>My new car is silver.</p>
<p>My new car is silver.</p>
Try it Yourself »
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the <s> tag.
Definition and Usage
The <s> tag marks text that is incorrect, inaccurate, or no longer useful.
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> elementis deprecated, used to add a strikethrough to text.
HTML5 redefined the <s> element, which is now used to define incorrect text.
Global Attributes
The <s> tag supportsHTML's global attributes.。
Event Attributes
The <s> tag supportsHTML's event attributes.。
Other extensions