HTML DOM Blockquote Object
Blokaanhalingsvoorwerp
Die Blockquote-objek verteenwoordig 'n HTML <blockquote>-element.
Toegang tot 'n Blockquote-objek
Jy kan toegang tot 'n <blockquote> element kry deur getElementById():
Voorbeeld
var x = document.getElementById("myBlockquote");
Skep 'n Blockquote-objek
Jy kan 'n <blockquote> element skep deur die document.createElement() metode te gebruik:
Voorbeeld
var x = document.createElement("BLOCKQUOTE");
Blockquote Object Properties
Property | Description |
---|---|
cite | Sets or returns the value of the cite attribute of a quotation |
Standaard eiendomme en geleenthede
Die Blockquote-objek ondersteun ook die standaard eienskappe en gebeurtenisse .
Verwante bladsye
HTML verwysing: HTML <blockquote> tag
JavaScript-verwysing: HTML DOM Quote Object