HTML Reference ยท Inline Text
The <ins> element
Reference for the HTML <ins> element: marking content added to a document, the cite and datetime attributes, accessibility notes and technical details.
The <ins> element marks content that has been added to a document after it was first published. It is the partner of <del>, which marks removed content. Browsers underline inserted text by default.
Use it for corrections, updates to an article, revised terms, or anywhere you want readers to see what changed. The optional cite and datetime attributes say why and when.
HTML
<p>The pool is open <ins>on weekends</ins> from 9 am to 5 pm.</p>
Try it
Attributes
| Attribute | Values | Description |
|---|---|---|
cite |
A URL | A page that explains the change. Not shown to readers. |
datetime |
A date, or a date and time | When the change was made, e.g. 2026-10-01 or 2026-10-01T08:30+02:00. |
The element also accepts the global attributes.
Usage notes
- Not a general underline. Use
<ins>only for real additions. For other underlined text, such as marking a spelling error, see<u>, or use CSS. Underlined text can also be mistaken for a link, so consider restyling<ins>with a background color. - Don't cross paragraph boundaries. One
<ins>may wrap whole paragraphs or sit inside one, but not start in one paragraph and end in another. - Accessibility. Many screen readers don't announce inserted text by default. If it matters, say so in words, for example with an "Update:" label.
- Lists. To mark a list item as added, put
<ins>inside the<li>, not around it.
Technical summary
| Content categories | Flow content, phrasing content, palpable content |
| Permitted content | Transparent |
| Tag omission | None; both the start and end tags are required |
| Permitted parents | Any element that accepts phrasing content |
| Implicit ARIA role | insertion |
| DOM interface | HTMLModElement |
| Default display | inline (underlined) |
Browser support
Supported in every browser.
Related
<del>โ deleted content<u>โ unarticulated annotation<mark>โ highlighted for relevance- Lessons: Formatting Text, Quotations, Citations and Abbreviations