<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.

CategoryFormatting
Content ModelPhrasing content
Allowed ParentsAny element that accepts phrasing content
Content TagYes — requires closing </ins> tag
StatusStandard

📝 Syntax

<ins>inserted text</ins>

⚙️ Attributes

This element supports the global attributes plus the following:

AttributeValueDescription
citeURLA URL explaining the reason for the insertion.
datetimeDatetimeThe date and time of the insertion.

▶ Example

Edit the code below and see the live result in the playground:

🌐 Browser Support

Browser ChromeChrome EdgeEdge FirefoxFirefox SafariSafari OperaOpera
<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.

📚 Related Tutorials

Web-Tutorial.com

Web-Tutorial Tech Team

A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.

100%

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏