HTML <ins> tag
Updated: 11/13/2018 by Computer Hope
With HTML, the <ins> tag is an inline element indicating a text section was inserted in a web page, and is used with the <del> tag. The following sections contain information about the <ins> tag, including examples of how it is used and related attributes and browser compatibility.
Example of <ins> code
<p>My favorite food is <del>spaghetti</del> <ins>pizza</ins>.</p>
Example result
My favorite food is spaghetti pizza.
Attributes
Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows all of the current unique HTML attributes for the <ins> tag, and a description of each.
Attribute | Description |
---|---|
cite | Designates a URL (uniform resource locator) to a document explaining why the text was inserted. |
datetime | Designates the date and time the text was inserted. |
Compatibility
Edge | Internet Explorer | Firefox | Safari | Opera | Chrome |
---|---|---|---|---|---|
All versions | All versions | All versions | All version | All versions | All versions |
Block of text, Browser, Compatibility, Container tag, CSS, URL, Web design terms