Ins HTML

HTML <ins> Tag

A newly added text is represented in an HTML document using the HTML <ins> tag. B default, it is displayed with an underline through the text. The default underlines property, however, can be changed by using CSS property. It is also used with the HTML <del> tag to represent the text that replaced the text within the <del> tag.

Syntax:

<ins>Content</ins>

Example:

<!DOCTYPE html>
<html>
<body>
<p>Hello <del>Ladies and Gentleman</del> <ins>World</ins>!!</p>
</body>
</html>

Output:

Explanation:

In the above example, we are deleting a certain text from a document and we are inserting some other text in place of it using the HTML <ins> tag.

Tag Specific Attributes:

Attribute Value Uses
cite URL Used to define the URL of the source that contains the explanation of the reason for the text removal or deletion of the text.
datetime YYYY-MM-DDThh:mm:ssTZD Used to define the date and time of the text removal or deletion of the text.

Global Attributes:

The HTML Global attributes are supported by the HTML <ins> tag.

Event Attributes:

The HTML Event attributes are supported by the HTML <ins> tag.

Supporting Browsers:

Chrome, IE, Firefox, Opera and Safari.

Please Share