Skip to main content

HTML Tags

HTML <ins> Tag

Written by Updated HTML <ins> Tag exercises

The ins tag marks text that was added to a document, and shows it underlined. On its own it says "this is new". Next to a del tag, it shows exactly what was changed: the old version crossed out, the new one underlined.

It is the partner of the del tag. Use the pair for real edits: corrections, updated dates, revised terms.

Syntax

html

<ins>Inserted text here</ins>
AttributeWhat it does
citeA link to a page explaining the change.
datetimeWhen the text was added, like 2025-10-29.

Neither is shown on the page; they record the history of the change. Global attributes such as class, id and title work too, and title appears as a tooltip on hover.

Example

html

<!DOCTYPE html>
<html>
<head>
  <title>INS Tag Example</title>
  <style>
    .new-price {
      color: #2e7d32;
      text-decoration: underline;
    }
  </style>
</head>
<body>
  <h1>HTML &lt;ins&gt; Tag Example</h1>
  <p>
    Updated price: <ins class="new-price" id="new-price" datetime="2025-10-29" cite="https://example.com" title="New Price">₹350</ins>
  </p>
</body>
</html>

"₹350" appears underlined and in green from its class. The datetime and cite values are not visible.

An edit with del and ins

Showing a correction

html

<p>
  The workshop starts at
  <del datetime="2025-11-20">10 AM</del>
  <ins datetime="2025-11-20">11 AM</ins>.
</p>

Browser Support

Chrome
Edge
Firefox
Safari
Opera
IE9+
YesYesYesYesYesYes

Good to know

  • The underline can look like a link. Many sites restyle <ins>, for example ins { text-decoration: none; background: #dcfce7; }.
  • Screen readers usually do not announce inserted text differently. If the change matters, say so in words too.
  • For text that is new but not an edit of earlier content, plain text is fine. <ins> is about changes.

HTML <ins> Tag exercises

Mark added text

Write this paragraph and mark only the last word as added later: We now ship worldwide.

Result

Check your answer to see it here.