ล่าสุดการพัฒนาเว็บบทเรียน
×

HTML การอ้างอิง

HTML ตามลำดับตัวอักษร (เรียงลำดับ) HTML ตามหมวดหมู่ (เรียงลำดับ) HTML แอตทริบิวต์ HTML แอตทริบิวต์ทั่วโลก HTML เหตุการณ์ HTML ผ้าใบ HTML เสียง / วิดีโอ HTML doctypes HTML เข้ารหัส URL HTML รหัสภาษา HTML รหัสประเทศ HTTP ข้อความ HTTP วิธีการ PX จะ EM แปลง แป้นพิมพ์ลัด


 

HTML cite Attribute


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

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


นำไปใช้กับ

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

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

ตัวอย่าง

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>
ลองตัวเอง»

Del ตัวอย่าง

ข้อความที่ถูกลบด้วย 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>
ลองตัวเอง»

Q ตัวอย่าง

ระบุ 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 แอตทริบิวต์มีการสนับสนุนเบราว์เซอร์ต่อไปนี้สำหรับแต่ละองค์ประกอบ:

ธาตุ
blockquote ใช่ ใช่ ใช่ ใช่ ใช่
del ใช่ ใช่ ใช่ ใช่ ใช่
ins ใช่ ใช่ ใช่ ใช่ ใช่
q ใช่ ใช่ ใช่ ใช่ ใช่