<ins>: The INS Element
Last updated: 2026-10-13
<ins>The INS Element
Represents text inserted into the document, rendered with an underline by default.
| Category | Formatting |
|---|---|
| Content Model | Phrasing content |
| Allowed Parents | Any element that accepts phrasing content |
| Content Tag | Yes — requires closing </ins> tag |
| Status | Standard |
📝 Syntax
<ins>inserted text</ins>
⚙️ Attributes
This element supports the global attributes plus the following:
| Attribute | Value | Description |
|---|---|---|
cite | URL | A URL explaining the reason for the insertion. |
datetime | Datetime | The date and time of the insertion. |
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <ins> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: Often paired with <del> to show a document revision.
❓ FAQ
QWhat is the difference between ins and u?
ABoth render as underlined text by default, but the semantics are completely different:
<ins> marks newly inserted content (document revisions), while <u> marks non-textual annotation (such as proper names in Chinese or spell-check markers). Use <ins> to show edits.QMust ins be used together with del?
ANot required, but they are a natural pair: in revision scenarios, strike out the old content with
<del> and mark the new content with <ins>, so readers see the change at a glance. Using <ins> alone to mark an addition is also perfectly valid.QWhich attributes does ins support?
AThe same as
<del>: cite (a URL pointing to an explanatory document) and datetime (the modification time in ISO 8601 format, e.g. 2026-10-09T12:00). They are invisible and mainly serve tools and crawlers that need to understand revision history.