Name
s — HTML 4.01
Synopsis
<s> . . . </s>
Enclosed text is displayed as strikethrough text (same as
strike
but introduced by later
browser versions). Developers are advised to use style sheets to
create strikethrough text instead of the s
element.
Notes
Deprecated in HTML 4.01/XHTML 1.0. Not in HTML5.
Start/End Tags
Required/Required
Attributes
Core, Internationalization, Events
Example
<p>All winter gear is<s>
20%</s>
40% off.</p>
Get HTML & XHTML Pocket Reference, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.