HTML DOM Del Object
Del Object
The Del object represents an HTML <del> element.
Access a Del Object
You can access a <del> element by using getElementById():
Create a Del Object
You can create a <del> element by using the document.createElement() method:
Del Object Properties
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 |
Standard Properties and Events
The Del object also supports the standard properties and events.
Related Pages
HTML tutorial: HTML Text Formatting
HTML reference: HTML <del> tag
JavaScript reference: HTML DOM ins Object
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.