<ins> tag in HTML
The <ins> tag is used to defines a text that has been newly inserted into a HTML document.
Important Description
- Open and close tag required of <ins>.
- Use <del> tag to delete text & use <ins> tag to insert text for example:
Example of <ins> tag
Result Look Like
I would like to take Green Tea Black Coffee!
<ins> Tag Browser Support
The browser normally underline the inserted text and strike a line for deleted text.
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<ins> |
Yes |
Yes |
Yes |
Yes |
Yes |
Global Attributes
Event Attributes
Attributes
The <ins> element attributes mentioned below:
Attribute |
Value |
Description |
cite |
URL |
Defines a URL to a document that explains the reason why the text was inserted/changed |
datetime |
YYYY-MM-DD
HH:MM:SS |
Defines the date and time the text was deleted. |