Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tag

HTML tag

Example

A piece of text with deleted and newly inserted parts:

My favorite color is blue red!

Try it »


Browser support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support tag.


Tag Definition and Usage Notes

The tag defines deleted text in a document.


Tips and Notes

**Tip:** You can also see how the tag marks inserted text.

Tip: and Used together to describe updates and corrections to the document. Browsers typically add a strikethrough to deleted text and an underline to newly inserted text.


Differences between HTML 4.01 and HTML5

none.


property

property Value Description
cite URL Specifies the URL of a document that explains the reason the text was deleted.
datetime YYYY-MM-DDThh:mm:ssTZD Specifies the date and time when the text was deleted.

Global Attributes

The tag supports HTML Global Attributes.


Event attribute

The tag supports HTML Event Attributes.