HTML » Tags » strike

Version: 3.2

Compability: Explorer 4, 5  Netscape 4, 6

Syntax:
<strike> ... </strike>

The  <strike> elements are deprecated in HTML 4.01.

The <strike> tag is officially deprecated effective with HTML 4.0. Instead, you are now to use the style sheets text-decoration property. However, this tag remains in minor use on the Internet and is still recognized by all major browsers.

The strike tag causes the designated text to be displayed with a struck through horizontal line. The s tag performs the exact same function, however, it also is deprecated.
 
The closing tag is mandatory.
 

Examples

Code:
I have <strike>one hundred twenty four</strike>, oops, one hundred twenty three, Neon Tetras in my45 gallon aquarium.
Output:
I have one hundred twenty four, oops, one hundred twenty three, Neon Tetrasin my 45 gallon aquarium.
Language(s): HTML

See Also: