My favorite color is blue red!
Home >Web Front-end >Front-end Q&A >What is the html strikethrough tag?
htmlThe strikethrough tag is
, which defines deleted text in the document. Use syntax such as "My favorite color is
”.blue!
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:
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:
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!