Objek HTML DOM Blockquote
Objek Blockquote
Objek Blockquote mewakili elemen <blockquote> HTML.
Akses Objek Blockquote
Anda dapat mengakses elemen <blockquote> dengan menggunakan getElementById():
Contoh
var x = document.getElementById("myBlockquote");
Buat Objek Blockquote
Anda dapat membuat elemen <blockquote> dengan menggunakan metode document.createElement() :
Contoh
var x = document.createElement("BLOCKQUOTE");
Properti Objek Blockquote
Property | Description |
---|---|
cite | Sets or returns the value of the cite attribute of a quotation |
Properti dan Acara Standar
Objek Blockquote juga mendukung properti dan event standar .
Halaman Terkait
Referensi HTML: tag HTML <blockquote>
Referensi JavaScript: Objek Kutipan HTML DOM