HTML DOM Ins Object
Ins Voorwerp
Die Ins-objek verteenwoordig 'n HTML <ins>-element.
Toegang tot 'n Ins-objek
Jy kan toegang tot 'n <ins>-element kry deur getElementById():
Voorbeeld
var x = document.getElementById("myIns");
Skep 'n Ins-objek
Jy kan 'n <ins> element skep deur die document.createElement() metode te gebruik:
Voorbeeld
var x = document.createElement("INS");
Ins Object Properties
Property | Description |
---|---|
cite | Sets or returns the value of the cite attribute of an inserted text |
dateTime | Sets or returns the value of the datetime attribute of an inserted text |
Standaard eiendomme en geleenthede
Die Ins-objek ondersteun ook die standaard eienskappe en gebeurtenisse .
Verwante bladsye
HTML-tutoriaal: HTML-teksformatering
HTML verwysing: HTML <ins> tag
JavaScript-verwysing: HTML DOM del Object