Home  >  Article  >  Web Front-end  >  What tag to use for strikethrough in HTML?

What tag to use for strikethrough in HTML?

(*-*)浩
(*-*)浩Original
2019-12-07 14:34:335078browse

HTML Tag

What tag to use for strikethrough in HTML?

##All browsers support the tag.​ ​ ​ ​ ​ ​ (Recommended learning:

html tutorial)

Definition and usage

tags can define strikethrough text definitions.

Differences between HTML and XHTML

In HTML 4.01, the tag is deprecated.

In XHTML 1.0 Strict DTD, the tag is not supported.

Tips

Note: Please use to replace it!

Example:

<html>

<body>

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

</body>
</html>

Rendering:

What tag to use for strikethrough in HTML?

The above is the detailed content of What tag to use for strikethrough in HTML?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:HTML tag functionNext article:HTML tag function