简介
HTML
<ins>
元素定义已经被插入文档中的文本。
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
属性
该元素支持所有 全局特性,除此以外还支持下列属性:
cite
- cite 属性的值指向一个文档的 URL,该文档解释了文本被插入或修改的原因。(目前该属性还没有被主流浏览器支持)
datetime
- 该特性指示的此修改发生的时间和日期,并且该特性的值必须是一个有效的日期或者时间字符串。如果该值不能被解析为日期或者时间,则该元素不具有相关联的时间标记。
示例
<ins>这一段文本是新插入至文档的。</ins>
结果
这一段文本是新插入至文档的。
规范
规范 | 状态 | 评论 |
---|---|---|
HTML Living Standard <ins> |
Living Standard | |
HTML5 <ins> |
Recommendation | |
HTML 4.01 Specification <ins> |
Recommendation |
浏览器兼容性
BCD tables only load in the browser