HTML <ins>Tag


Example

A piece of text with a deleted part and a newly inserted part:

<p>My favorite color is <del>blue</del> <ins>red</ins>!</p>

Try it Yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support the <ins> tag.


Definition and Usage

The <ins> tag defines text that has been inserted into a document.


Tips and Notes

Tip:You can also look at the<del>tag that marks deleted text.

Tip:<del> and <ins> are used together to describe updates and revisions in a document. Browsers typically add a strikethrough on deleted text and an underline on newly inserted text.


Differences Between HTML 4.01 and HTML5

None.


Attributes

Attribute 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 <ins> tag supportsHTML Global Attributes。


Event Attributes

The <ins> tag supportsHTML Event Attributes。

Other Extensions