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

What tag to use for strikethrough in HTML?

(*-*)浩
Release: 2019-12-07 14:35:07
Original
5199 people have browsed it

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template