HTML ins Tag

HTML <ins> element is employed to indicate the fresh content added to an HTML document. Typically, it displays with a line underneath the text, which can be customized using CSS styles.

The <ins> tag is more useful when it is used with the <del> element as it represents the part of the text that has been deleted and <ins> represent the part of the text that has been inserted to the document.

Syntax:

Example

<ins>Insert the text.......</ins>

Here are some details regarding the HTML <ins> element:

Display Inline
Start tag/End tag Both Start and End tag
Usage Semantics

Example

Example

<!DOCTYPE html>

<html>

<head>

	<title>HTML ins Tag</title>

</head>

<body>

<h2>Example of ins tag</h2>

<p>

	If you will do <del>hard work </del> <ins>smart work</ins> then you will get success easily 

</p>

</body>

</html>

Output:

Attribute

Tag-specific attribute

Attribute Value Description
cite URL It specifies the URL of the resource which explains the reason for the change.
datetime YYYYMMDDHH:MM:SS It specifies the date and time of change.

Global attribute

HTML <ins> tag provides support for the universal attributes in HTML.

Event attribute

HTML <ins> tag enables the utilization of event attributes within HTML.

Supporting Browsers

Element Chrome IE Firefox Opera Safari
<ins> Yes Yes Yes Yes Yes

Input Required

This code uses input(). Please provide values below: