HTML DOM BR Voorwerp
BR Voorwerp
Die BR-objek verteenwoordig 'n HTML <br>-element.
Toegang tot 'n BR-voorwerp
Jy kan toegang tot 'n <br>-element kry deur getElementById():
Voorbeeld
var x = document.getElementById("myBR");
Skep 'n BR-voorwerp
Jy kan 'n <br>-element skep deur die document.createElement() metode te gebruik:
Voorbeeld
var x = document.createElement("BR");
BR Voorwerp Eienskappe
Property | Description |
---|---|
clear | Not supported in HTML5. Use style.clear instead. Sets or returns the flow of text around floating objects |
Standaard eiendomme en geleenthede
Die BR voorwerp ondersteun ook die standaard eienskappe en gebeure .
Verwante bladsye
HTML-verwysing: HTML <br>-merker