HTML DOM Del Object

Del Object

The Del object represents the HTML <del> element.

Access Del Object

You can access the <del> element using getElementById():

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

Try it yourself

Create Del Object

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

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

Try it yourself

Del Object Properties

Properties Description
cite Set or return the cite attribute value of the deleted text.
dateTime Iset o ibalik ang datetime attribute value ng tinanggal na teksto.

Standard Properties and Events

Ang Del Obheto ay sumusuporta sa StandardPropertiesatEvents.

Related Pages

HTML Tutorial:HTML Text Formatting

HTML Reference Manual:HTML <del> Tag

JavaScript Reference Manual:HTML DOM ins Obheto