<s> (Strikethrough)
This element renders the enclosed text with a line drawn through it.
Standard Syntax (Transitional Only)
<s
class="class name(s)"</s>
dir="ltr | rtl"
id="unique alphanumeric identifier"
lang="language code"
style="style information"
title="advisory text"
Attributes Defined by Internet Explorer
accesskey="key" (5.5)
contenteditable="false | true | inherit" (5.5)
disabled="false | true" (5.5)
hidefocus="true | false" (5.5)
language="javascript | jscript | vbs | vbscript" (4)
tabindex="number" (5.5)
unselectable="off | on" (5.5)
Standard Event Attributes
onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup
Events Defined by Internet Explorer
onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforeeditfocus, onbeforepaste, onblur, oncontextmenu, oncontrolselect, oncopy, oncut, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, onfocus, onfocusin, onfocusout, onhelp, onlosecapture, onmouseenter, onmouseleave, onmousewheel, onmove, onmoveend, onmovestart, onpaste, onpropertychange, onreadystatechange, onresize, onresizeend, onresizestart, onselectstart, ontimeerror
Examples
This line contains a <s>misstake</s>.
<s id="strike1"
onmouseover="this.style.color='red'"
onmouseout=
"this.style.color='black'">
Fastball</s>
Compatibility
HTML 4, 4.01 (transitional), XHTML 1.0 (transitional)
Internet Explorer 2, 3, 4, 5, 5.5, 6
Netscape 3, 4, 4.5-4.8, 6, 7
Opera 4-7
Notes
This element should act the same as the <strike> element.
This HTML 3 element eventually was adopted by Netscape and Microsoft and later was incorporated into the HTML 4.01 transitional specification.
This element has been deprecated by the W3C. The strict HTML 4.01 specification does not include the s element or the strike element. It is possible to indicate strikethrough text using a style sheet.