INS <ins> Tag

by Jai 09-Jul-19

0 209


HTML <ins> tag is used to describe the new text that would be inserted in an HTML document. You can change its style using CSS property because browsers will strike-through the deleted text and underline the inserted text.

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

Program:

<!DOCTYPE html>
<html>
<head>
<title>HTML ins Tag</title>
</head>
<body>
<h2>Example of ins tag</h2>
<p>
This is <del> delete text </del> and this is <ins>insert new text</ins>
</p>
</body>
</html>

Output:

INS <ins> Tag


Share:


Comments

    Waiting for your comments

Leave a Reply