HTML » Tags » s

Version: 3.2

Compability: Explorer 4, 5  Netscape 4, 6

Syntax:
<s> ... </s>

The <s>  elements are deprecated in HTML 4.01.

The <s> 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 s tag causes the designated text to be displayed with a struck through horizontal line. The strike tag performs the exact same function, however, it has also been deprecated.
 
The closing tag is mandatory.
 

Examples

Code:
I have <s>one hundred twenty four</s>, 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: