HTML <ins> Tag
Description
The HTML <ins>
tag is used to mark up text that has been inserted into a document or web page. It is typically displayed as underlined text, indicating that this content is new or added compared to the original version of the document. The <ins>
tag is often paired with the <del>
tag, which represents deleted or removed text and is typically displayed with a strikethrough. Together, these tags can be used to show the differences between different versions of a document or to highlight recent edits or updates in web content.
Properties
- Permitted Parents
- Any element that accepts phrasing content
- Content
- Any block, inline and text (but cannot contain block content when used as an inline element)
- Start/End Tags
- Start tag: required, End tag: required
Example
<p>My favorite color is <del>blue</del>
<ins>green</ins>!</p>
Attributes
Attribute | Definition |
---|---|
cite | Indicates a source that should indicate the reason for the change. |
datetime | Date and time of change. |
Global Attributes
The <ins>
tag also supports the Global Attributes in HTML5
Event Attributes
The <ins>
tag also supports the Event Attributes in HTML5
Browser Support
The following table will show you the current browser support for the HTML <ins>
tag.
Desktop | |||||
12 | 1 | 1 | 15 | 4 |
Tablets / Mobile | |||||
18 | 4 | 14 | 3.2 | 1 | 4.4 |
Last updated by CSSPortal on: 30th March 2024