Advertisement

HTML <s> tag

example

You can mark strikeout text like this:

在 HTML 5 中,<s>仍然支持</s>已经不支持这个标签了。

Browser Support

IE Firefox Chrome Safari Opera

All browsers support <s> tag.

Definition and Usage

<S> tag to define the strikethrough text definition.

<s> tag is <strike> tag abbreviated version of, Netscape and Internet Explorer support it. But in HTML 4 and XHTML are no longer in favor of using it, which means no longer in use; sooner or later it will disappear.

Differences between HTML and XHTML

In HTML 4.01, <s> tag is not in favor of use.

In XHTML 1.0 Strict DTD in, <s> tag is not supported.

Tips and Notes:

Note: Please use <del> to replace it!

Global Properties

<s> tag supports HTML in the global properties .

Event Properties

<s> tag supports HTML in the event properties .

Examples TIY

Strikethrough text
This example shows how to add and delete text tag line.

See

See HTML 5 Reference Manual for the latest information about the <s> tag:

HTML 5 <s> tag