HTML <ins> tag
The <ins> tag is a way to define an inserted text in HTML document.
Browsers usually underlines inserted text to show that it is an inserted text.
<del> tag with <ins> tag
The <del> tag is a way to define a deleted text.
In the examples below, first the text is deleted using the <del> tag and a new text is inserted using the <ins> tag.
Default CSS Value
How Browser will display
Difference between HTML4.01, XHTML and HTML5
|No difference||NA||No difference|
Attributes used with <ins> tag
|cite||This defines a URL to another document. This target URL is a page which can show the reason why text was deleted/inserted/quoted.|
|datetime||This shows the date with time when the text was inserted or modified. The format of the datetime is YYYY-MM-DDThh:mm:ssTZD.|
Show the deleted text using the <del> tag followed by the inserted text using the <ins> tag.
The <ins> tag supports Global attributes.
The <ins> tag supports Event attributes.