Cyber Week

Save big!

All courses under $5 - for a limited time!

Code has been added to clipboard!

HTML ins Tag

Reading time 1 min
Published Jun 29, 2017
Updated Oct 2, 2019

HTML ins: Main Tips

  • The HTML <ins> tag marks texts added to web pages.
  • <del> is an opposite element of <ins> HTML since it marks the deleted content.

Use and Purpose of ins

HTML <ins> defines an inserted text in a document.

Example
<h2>The movie scheduled to be released on <del>April 2017</del> <ins>July 2017.</ins></h2>

Note: web browsers normally add the text-decoration CSS property with a value of line-through for deleted text and a value of underline for inserted text.

Attributes Used With ins

cite

It defines a web location, containing the reason for adding the inserted text.

Example
<h2>The movie scheduled to be released on <del>April 2017.</del> <ins cite="production-house-news-july-2017.html">July 2017.</ins></h2>

datetime

It defines date and time when the text was added.

Example
<h2>The movie scheduled to be released on <del>April 2017.</del> <ins datetime="2017-07-15T21:30:00Z">July 2017.</ins></h2>

Browser Support

Browser image
Chrome
All
Browser image
Edge
All
Browser image
Firefox
1+
Browser image
IE
All
Browser image
Opera
All
Browser image
Safari
All

Mobile Browser Support

Browser image
Chrome
All
Browser image
Firefox
4+
Browser image
Opera
All
Browser image
Safari
All