Like & Share:
- Like & Share : Share if you find this article useful, there are always many ways to like and share this article.
- Comment : Always give positive and relevant comments, irrelevant and spammy comment will never be published.
- Thank You : We appreciate you sticking with us. ---thank you for your time!
Albinon.Com – HTML blockquote TAG. HTML <blockquote>
TAG menentukan bagian yang dikutip dari sumber lain.
Browser biasanya membuat indentasi elemen <blockquote>
(lihat contoh di bawah untuk melihat cara menghilangkan indentasi).
Table of Contents
HTML blockquote TAG
Elemen <blockquote>
pada HTML menunjukkan bahwa teks yang diapit adalah kutipan yang diperluas. Biasanya, ini ditampilkan secara visual dengan lekukan.
URL untuk sumber kutipan dapat diberikan menggunakan atribut cite, sedangkan representasi teks dari sumber dapat diberikan menggunakan elemen <cite>
.
Contoh ini mendemonstrasikan penggunaan elemen <blockquote>
untuk mengutip suatu bagian dari “Blockquote element”
Contoh Kode HTML <blockquote>
tag
<html>
<body>
<h3>HTML blockquote TAG</h3>
<blockquote cite="https://en.wikipedia.org/wiki/Blockquote_element">
<p>In HTML , XHTML and MediaWiki, the blockquote element defines "a section [within a document] that is quoted from another source".</p>
<blockquote><p>The blockquote element is used to indicate the quotation of a large section of text from another source. Using the default HTML styling of most web browsers, it will indent the right and left margins both on the display and in printed form, but this may be overridden by Cascading Style Sheets (CSS).</p></blockquote>.
</blockquote>
</body>
</html>
Kode di atas oleh browser akan di render sebagai berikut:
HTML blockquote TAG
In HTML , XHTML and MediaWiki, the blockquote element defines “a section [within a document] that is quoted from another source”.
.The blockquote element is used to indicate the quotation of a large section of text from another source. Using the default HTML styling of most web browsers, it will indent the right and left margins both on the display and in printed form, but this may be overridden by Cascading Style Sheets (CSS).
Artikel ini adalah artikel anak dari HTML TAGS, Artikel / Tutorial Tag HTML berikutnya, HTML body TAG.