O'Reilly logo

Dynamic HTML: The Definitive Reference by Danny Goodman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

<STRIKE> — NN 3 IE 3 HTML 3.2

Synopsis

<STRIKE>...</STRIKE>

End Tag: Required

The STRIKE element renders its content as strikethrough text. This element is identical to the S element, which was adopted because it more closely resembled the one-character element names for other type formatting (such as B, I, and U elements). In any case, both STRIKE and S elements are deprecated in HTML 4.0 in favor of the text-decoration:line-through style sheet attribute.

Example

<P>If at first you don't succeed, <STRIKE>do it over</STRIKE> try, try again.</P>

Object Model Reference

IE

[window.]document.all.elementID

Attributes

CLASS

ID

LANGUAGE

STYLE

TITLE

DIR

LANG

   

Event Handler Attributes

Handler

NN

IE

HTML

onClick

n/a

4

4

onDblClick

n/a

4

4

onDragStart

n/a

4

n/a

onHelp

n/a

4

n/a

onKeyDown

n/a

4

4

onKeyPress

n/a

4

4

onKeyUp

n/a

4

4

onMouseDown

n/a

4

4

onMouseMove

n/a

4

4

onMouseOut

n/a

4

4

onMouseOver

n/a

4

4

onMouseUp

n/a

4

4

onSelectStart

n/a

4

n/a

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required