My favorite color is blue red!

"."/> My favorite color is blue red!

".">

Home  >  Article  >  Web Front-end  >  What is the html strikethrough tag?

What is the html strikethrough tag?

藏色散人
藏色散人Original
2021-11-10 14:33:188651browse

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>

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!

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