The Del object represents an HTML <del> element.
You can access a <del> element by using getElementById():
You can create a <del> element by using the document.createElement() method:
Property | Description |
---|---|
cite | Sets or returns the value of the cite attribute of a deleted text |
dateTime | Sets or returns the value of the datetime attribute of a deleted text |
The Del object also supports the standard properties and events.
HTML tutorial: HTML Text Formatting
HTML reference: HTML <del> tag
JavaScript reference: HTML DOM ins Object
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!