HTML <ins> Tag

<ins> tag defines a text which has been added into a document.

The <ins> tag comes in pairs. The content must be written between opening (<ins> ) and closing (</ins>) tags.

We suggest you to use <ins> and <del> tags together to markup updates and notifications in a document.

Let's see an example:

<!DOCTYPE html>
<html>
   <body>
      <ins>A text must be inserted here</ins>
   </body>
</html>

Here the result is:


Let's see another example:

<!DOCTYPE html>
<html>
   <body>
      <p> She likes <del>violets</del> <ins>snowdrops</ins></p>
   </body>
</html>

Here is the result:

She likes violets snowdrops

Attributes:

<ins> tag also use the Global Attributes.

Attributes Value Description
cite URL It defines a URL to a document which explains why the text was inserted or changed.
datetime YYYY-MM-DDThh:mm:ssTZD It defines date and time when the text was inserted or changed.