HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

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():

var x = document.getElementById("myDel"); Try it

Create a Del Object

You can create a <del> element by using the document.createElement() method:

var x = document.createElement("DEL"); Try it

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



Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE