HTML DOM Ins 对象
- 上一页 <img>
- 下一页 <input> button
Ins object
The Ins object represents the HTML <ins> element.
Access Ins object
You can access the <ins> element using getElementById():
var x = document.getElementById("myIns");
Create Ins object
You can create an <ins> element using the document.createElement() method:
var x = document.createElement("INS");
Ins object properties
属性 | Description |
---|---|
cite | Set or return the value of the cite attribute of the inserted text. |
dateTime | Set or return the value of the datetime attribute of the inserted text. |
- 上一页 <img>
- 下一页 <input> button