HTML <ins> (Inserted Text) Tag
Example
<p>Cost of the product has been increased <ins cite="http://www.example.com/index.html" date="2021-01-01T00:00:00-00:00">New rates will be effected January 2021 onwards.</ins></p>
Meaning
The <ins> element is used to specify that text has been added to the document. Inserted text is generally styled with an underline.
Version: HTML 4, 4.01, 5
Standard Syntax
<ins cite="URL" datetime="YYYY-MM-DDThh:mm:ssTZD">...</ins>
Browser Support
Status
Attributes
Attribute | Value | Description |
---|---|---|
cite | URL | The value of this attribute is a URL that designates a source document or message for the information inserted |
datetime | YYYY-MM-DDThh:mm:ssTZD | This attribute is used to specifies the date and time the insertion was made. |
Global Attributes
<ins> element also supports the Global Attributes in HTML.
Event Attributes
<ins> element also supports the Event Attributes in HTML.
By Default CSS Value(s)
Most of the browsers will display the <ins> element with the following by default value(s)
ins {
text-decoration: underline;
}