What is the html strikethrough tag?

藏色散人
Release: 2021-11-10 14:33:18
Original
8721 people have browsed it

htmlThe strikethrough tag is , which defines deleted text in the document. Use syntax such as "

My favorite color is blue !

”.

What is the html strikethrough tag?

The operating environment of this article: windows7 system, HTML5 version, DELL G3 computer

html What is the strikethrough tag?

tag defines deleted text in the document.

Tip: You can also look at how the tag marks text that is inserted first.

Tip: and are used together to describe updates and corrections in the document. Browsers usually add a strikethrough over deleted text and an underline under newly inserted text.

Attributes:

What is the html strikethrough tag?

Instance

A text with a deleted part and a newly inserted part:

<p>My favorite color is <del>blue</del> <ins>red</ins>!</p>
Copy after login

The effect is as follows:

What is the html strikethrough tag?

Recommended learning: "HTML5 Video Tutorial"

The above is the detailed content of What is the html strikethrough tag?. 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