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 text that has been inserted into the document.


Tips and Notes

**Tip:** You can also look at the tag for marking deleted text, tag.

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 why the text was inserted.
datetime YYYY-MM-DDThh:mm:ssTZD Specifies the date and time when the text was inserted.

Global Attributes

The tag supports HTML Global Attributes.


Event attribute

The tag supports HTML Event Attributes.