ins – inserted text

<ins datetime="2026-10-09">…</ins>

Text added to a document when it was edited – a change in the terms, a correction in an article, a new item in minutes. Together with del it shows what has changed. The browser underlines it.

  • Default display: display: inline
  • End tag: required
  • Content: anything its parent may contain (even blocks)
  • Where it can be used: anywhere phrasing or flow content is allowed
  • DOM interface: HTMLModElement

Attributes

  • datetime – when the change was made (format as in time).
  • cite – the URL of a page explaining the change.

Examples

A change in the opening hours:

<p>On Saturdays we are open until <del datetime="2026-10-01">noon</del> <ins datetime="2026-10-01">2 pm</ins>.</p>
result

On Saturdays we are open until noon 2 pm.

Accessibility

Screen readers mostly do not announce inserted and deleted text and read both. When the change matters, add it in words or with a hidden label.

Things to watch out for

  • People confuse the underline with a link. Inserted text is therefore often highlighted differently – with a green background.
  • ins may wrap whole paragraphs or list items too.

Browser support

Baseline – widely available: works in all major browsers and has for a long time (since 2015 at the latest). Since version: Chrome 1, Firefox 1, Safari 4. As of October 2026 (MDN browser-compat-data).

Related:
del – deleted text
s – text that is no longer accurate
u – annotated text
time – date and time