Belajar Element HTML: <blockquote>
Tag <blockquote> digunakan untuk membuat elemen blockquote yang mewakili konten kutipan dari sumber lain.
Browser biasanya merender teks blockquote sebagai teks inden.
Jadi, paragraf atau beberapa paragraf yang ada didalam elemen blockquote akan ditampilkan menjorok kedalam.
Biasanya elemen blockquote dipakai untuk kutipan-kutipan yang panjang.
Sedangkan untuk membuat kutipan yang pendek digunakan elemen q.
Syntax
Tag <blockquote> ditulis sebagai <blockquote></blockquote> dengan konten kutipan diselipkan diantara tag pembuka dan penutup.
<blockquote>Teks kutipan disini...</blockquote><blockquote>
The most important moment of your life is now. The most important person in your life is the one you are with now, and the most important activity in your life is the one you are involved with now. -
<cite>Ajahn Ekachai</cite>
</blockquote><p>Here's another great quote from <cite>My Big TOE</cite>:</p>
<blockquote cite="http://books.google.com.au/books?id=RYHtBPiZVgsC&pg=PA116&redir_esc=y#v=onepage&q&f=false">
Scientists might <em>believe</em> that what is unknown must be contained within the <abbr title="Physical Matter Reality">PMR</abbr> data-set and follow ordinary objective causality, but that <em>belief</em> or article of faith simply expresses a more accepted form of mysticism.
</blockquote>cite
Menentukan sumber URL kutipan.
"https://en.wikiquote.org/wiki/Marie_Curie"
Hanya URL valid yang bisa digunakan.
Pengaturan Default CSS
Sebagian besar browser menampilkan elemen blockquote dengan pengaturan CSS berikut:
blockquote {
display: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 40px;
margin-right: 40px;
}