ข้อมูลอ้างอิงHTML

HTML โดยตัวอักษร HTML ตามหมวดหมู่ รองรับ HTML Browser แอตทริบิวต์ HTML HTML Global Attributes เหตุการณ์ HTML HTML สี HTML Canvas HTML เสียง/วิดีโอ ชุดอักขระ HTML HTML Doctypes การเข้ารหัส URL HTML รหัสภาษา HTML รหัสประเทศ HTML ข้อความ HTTP วิธี HTTP ตัวแปลง PX เป็น EM แป้นพิมพ์ลัด


HTML อ้างแอตทริบิวต์


ความหมายและการใช้งาน

แอตทริบิวต์ citeระบุ URL ไปยังเอกสารที่อธิบายใบเสนอราคา หรือเหตุใดจึงมีการแทรก/เปลี่ยนแปลงข้อความ


นำไปใช้กับ

สามารถใช้ แอตทริบิวต์ citeกับองค์ประกอบต่อไปนี้:

องค์ประกอบ คุณลักษณะ
<blockquote> อ้าง
<del> อ้าง
<ins> อ้าง
<q> อ้าง

ตัวอย่าง

ตัวอย่าง Blockquote

ส่วนที่ยกมาจากแหล่งอื่น:

<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. WWF's unique way of working combines global reach with a foundation in science, involves action at every level from local to global, and ensures the delivery of innovative solutions that meet the needs of both people and nature.
</blockquote>

ตัวอย่างเดล

ข้อความที่ถูกลบซึ่งมี URL ไปยังเอกสารที่อธิบายสาเหตุที่ข้อความถูกลบ:

<p><del cite="del_demo_cite.htm">This text has been deleted</del></p>

ตัวอย่าง Ins

ข้อความที่แทรก โดยมี URL ของเอกสารที่อธิบายว่าทำไมจึงใส่ข้อความ:

<p>This is a text.
<ins cite="why_inserted.htm">This is an inserted text.</ins></p>

ตัวอย่างคิว

ระบุ URL ต้นทางของใบเสนอราคา:

<p>WWF's goal is to:
<q cite="http://www.wwf.org">
Build a future where people live in harmony with nature.</q>
We hope they succeed.</p>

รองรับเบราว์เซอร์

แอตทริบิวต์citeมีการสนับสนุนเบราว์เซอร์ต่อไปนี้สำหรับแต่ละองค์ประกอบ:

Element
blockquote Yes Yes Yes Yes Yes
del Yes Yes Yes Yes Yes
ins Yes Yes Yes Yes Yes
q Yes Yes Yes Yes Yes