Quotation dan Citation Elemen HTML



Elemen <q> untuk Kutipan Pendek
Elemen <q> mendefinisikan kutipan singkat.
Browser biasanya menyisipkan tanda kutip di sekitar elemen <q>.
Contoh :
<p>WWF's goal is to: <q>Build a future where people live in harmony with nature.</q></p>



Elemen <blockquote> untuk Kutipan
Elemen <blockquote> mendefinisikan bagian yang dikutip dari sumber lain.
Contoh :
<p>Here is a quote from WWF's website:</p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature.
The world's leading conservation organization,
WWF works in 100 countries and is supported by
1.2 million members in the United States and
close to 5 million globally.
</blockquote>

Elemen <abbr> untuk Singkatan
Elemen <abbr> mendefinisikan singkatan atau akronim.
Menandai singkatan dapat memberikan informasi yang berguna untuk browser, sistem terjemahan dan mesin- pencari.
Contoh :
<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>


Elemen <address> Informasi Kontak
Eemen <address>  mendefinisikan informasi kontak (penulis / pemilik) dari dokumen atau artikel.
Elemen <address> biasanya ditampilkan dalam huruf miring. Kebanyakan browser akan menambahkan satu baris sebelum dan sesudah elemen.
Contoh :
<address>
Written by John Doe.
<br>
Visit us at:
<br>
Example.com
<br>
Box 564, Disneyland
<br>
USA
</address>

Elemen <cite> untuk Judul Karya
Elemen <cite> mendefinisikan judul sebuah karya.
Browser biasanya menampilkan elemen <cite> secara italic.
Contoh :
<p><cite>The Scream</cite> by Edvard Munch. Painted in 1893.</p>


Elemen <bdo> untuk Override Bi-Directional
Elemen <bdo>  mendefinisikan bi-directional override.
Elemen <bdo> digunakan untuk mengesampingkan arah teks.
Contoh :
<bdo dir="rtl">This text will be written from right to left</bdo>

HTML Quotation dan Citation Elements
Tag
Description
Defines an abbreviation or acronym
Defines contact information for the author/owner of a document
Defines the text direction
Defines a section that is quoted from another source
Defines the title of a work
Defines a short inline quotation


Share this

Related Posts

Previous
Next Post »

Powered by Blogger.