HTML DOM Ins 对象

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");

Try it yourself

Create Ins object

You can create an <ins> element using the document.createElement() method:

var x = document.createElement("INS");

Try it yourself

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.

标准属性和事件

Ins Obheto 支持标准属性事件

相关页面

HTML 教程:HTML 文本格式化

HTML 参考手册:HTML <ins> 标签

JavaScript 参考手册:HTML DOM del 对象