HTML Tutorial: Complete HTML Tutorial
About Lesson

Html <ins> Tag

The <ins> tag in HTML is used to define a text that has been inserted into a document.

Typically, it’s used in conjunction with the <del> tag to indicate modifications made to a document. This tag is particularly useful for showing edits, updates, or corrections in text content, making it clear what has been added.


The <ins> tag is a way to semantically indicate that a portion of the text has been added to the document. It’s not just a stylistic change; it conveys meaning about the document’s history or evolution. By default, most browsers will underline text within an <ins> tag to visually differentiate it.


Example 1: Basic Insertion:

<p>   This is some text.   <ins>This is an insertion.</ins> </p> 

Example 2: Insertion with Citation

<p>   This is some text.   <ins cite="source.html" datetime="2023-01-07T08:49:00">Citation.</ins> </p> 

Try it out yourself


The <ins> Tag Attributes


Attribute Description
cite Specifies a URL to a document that explains the reason why the text was inserted/changed.
datetime Specifies the date and time when the text was inserted/changed.

Global Attributes

The <ins> tag supports all global attributes in HTML.

Event Attributes

The <ins> tag also supports all event attributes in HTML.

Browser Support

The <ins> tag is supported in all major browsers:

Browser Support
Chrome Yes
Firefox Yes
Safari Yes
Opera Yes
IE Yes

Default CSS Settings

Most browsers will display the <ins> element with the following default CSS settings:

ins {   text-decoration: underline; } 

The <ins> tag is a meaningful way to indicate additions to a document’s content. It’s especially useful in collaborative environments or documents undergoing revision, providing a clear, semantic indication of changes.

When combined with the <del> tag, it offers a complete picture of text modifications with a significant role in preserving the chronology of information updates on web pages and supports the clear presentation of revised content.