?
This document uses PHP Chinese website manual Release
HTML <ins>
元素定義已經(jīng)被插入文檔中的文本。
內容類別 | Phrasing content or flow content. |
---|---|
允許的內容 | Transparent. |
標記遺漏 | 沒有,起始和結束標簽都是強制性的。 |
允許父標簽 | 任何接受短語內容的元素。 |
允許ARIA角色 | 任何 |
DOM界面 |
|
該元素支持所有 全局特性,除此以外還支持下列屬性:
cite
cite 屬性的值指向一個文檔的 URL,該文檔解釋了文本被插入或修改的原因。(目前該屬性還沒有被主流瀏覽器支持)
datetime
該特性指示的此修改發(fā)生的時間和日期,并且該特性的值必須是一個有效的日期或者時間字符串。如果該值不能被解析為日期或者時間,則該元素不具有相關聯(lián)的時間標記。
<ins>This text has been inserted</ins>
此文本已被插入
Specification | Status | Comment |
---|---|---|
HTML Living StandardThe definition of '<ins>' in that specification. | Living Standard | |
HTML5The definition of '<ins>' in that specification. | Recommendation | |
HTML 4.01 SpecificationThe definition of '<ins>' in that specification. | Recommendation |
Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
cite | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
datetime | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
cite | (Yes) | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |
datetime | (Yes) | (Yes) | (Yes) | 1 | (Yes) | (Yes) | (Yes) |