# `<ins>`

> The `<ins>` HTML element represents inserted or added text within a document.

## What is the `<ins>` element used for in HTML?

The element that represents content that has been added to a document. It's typically rendered with an underline and can be used in combination with `<del>` to show changes made to a document.

- Topic: Semantics
- Type: tag
- Browser support: Chrome 1+, Chrome Android 18+, Edge 12+, Firefox 1+, Firefox Android 4+, Safari 4+, Safari iOS 3.2+

## Example

Wrong:

```html
<p>
  Meeting at <u>3pm</u>
</p>
```

Right:

```html
<p>
  Meeting at <del>2pm</del> <ins datetime="2024-05-01">3pm</ins>
</p>
```

`<ins>` marks added content as an edit, and `datetime` records when it changed.

## Common mistakes

- Using `<ins>` just to underline text.
- Showing edits with `<ins>` but no `<del>` for the removed part.

## Interview questions

### What is the difference between `<ins>` and `<u>`?

`<ins>` means content was added to the document, while `<u>` marks non-textual annotation like a spelling error.

### Can `<ins>` wrap block content?

Yes. `<ins>` can contain whole paragraphs or lists when the inserted content is block-level.

## Related cards

- [`<del>`](https://wonderium.dev/html/del.md)
- [`<u>`](https://wonderium.dev/html/u.md)
- [insertion](https://wonderium.dev/a11y/insertion.md)
- [`<time>`](https://wonderium.dev/html/time.md)

---

- Level: [HTML](https://wonderium.dev/html.md)
- HTML version: https://wonderium.dev/html/ins
- Last updated: 2026-11-25
