HTML <ins> Tag

The <ins> tag is used to define a part of the text which has been inserted into the document. In the browser, tag content is displayed as an underlined text.

The <ins> tag is usually used with the <del> tag, which contains the deleted part of the text. The content of this element is displayed as crossed out text.


The content of the tag is written between the opening (<ins>) and the closing (</ins>) tags.


<!DOCTYPE html>
    <title>Title of the document</title>
    <p>She likes <del>violets</del> <ins>snowdrops</ins></p>



Attribute Value Description
cite URL Indicates the URL of the document, where it is explained why the text is edited or deleted.
datetime YYYY-MM-DDThh:mm:ssTZD Defines the date and time of deleting the text.

The <ins> tag also supports the Global Attributes and the Event Attributes.

Browser support

Do you find this helpful?

Related articles