May 03, 2021 HTML5
A piece of text with a deleted part and a newly inserted section:
<p>My favorite color is <del>blue</del> <ins>red</ins>!</p>
All major browsers support the hashtag.
The label defines the text that has been deleted in the document.
Tip: The effect of the label is the opposite: it represents what is added to the document.
Tip: Use with slt;del> and slt;ins> to describe updates and fixes in the documentation. The browser typically adds a line of deletion to the deleted text and an underscore under the newly inserted text.
No.
Property | Value | Describe |
---|---|---|
cite | Url | Specify the URL of a document that explains why the text was deleted. |
Datetime | YYYY-MM-DDThh:mm:ssTZD | Specify the date and time the text was deleted. |
Labels support the global properties of HTML.
The tag supports the event properties of HTML.