HTML DOM Del Object
Del Object
Die Del-objek verteenwoordig 'n HTML <del>-element.
Toegang tot 'n Del Object
Jy kan toegang tot 'n <del>-element kry deur getElementById():
Voorbeeld
var x = document.getElementById("myDel");
Skep 'n Del Object
Jy kan 'n <del> element skep deur die document.createElement() metode te gebruik:
Voorbeeld
var x = document.createElement("DEL");
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 |
Standaard eiendomme en geleenthede
Die Del-objek ondersteun ook die standaard eienskappe en gebeurtenisse .
Verwante bladsye
HTML-tutoriaal: HTML-teksformatering
HTML verwysing: HTML <del> tag
JavaScript verwysing: HTML DOM ins Object