HTML Tag Reference - HTML tag <ins>








<ins> marks the text as having been inserted into the document. The text is rendered with an underline. This tag is similar to <u> in the way it renders text.

Browser compatibility

<ins> Yes Yes Yes Yes Yes

What's new in HTML5

None.

Attribute

Attribute Value Description
cite URL Set a URL to a document to explain the reason for inserting
datetime YYYY-MM-DDThh:mm:ssTZD Set the date and time when the text was inserted/changed




Global Attributes

The <ins> tag supports the Global Attributes in HTML.

Event Attributes

The <ins> tag supports the Event Attributes in HTML.

Default CSS Settings

ins { 
    text-decoration: underline;
}

Example

A demo showing how to use <ins> tag.

<html>
<body>
     <p>
          <ins>This text has been inserted in the document.</ins>
     </p>
</body>
</html>

Click to view the demo