اقتباس HTML وعناصر الاقتباس
في هذا الفصل
سنتناول عناصر HTML <blockquote>
و <q>
و <abbr>
و <address>
و <cite>
و و .<bdo>
مثال
Here is a quote from WWF's website:
For nearly 60 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by more than one million members in the United States and close to five million globally.
HTML <blockquote> للاقتباسات
<blockquote>
يحدد عنصر HTML قسمًا مقتبسًا من مصدر آخر.
عادة ما تقوم المستعرضات بوضع مسافة بادئة <blockquote>
للعناصر.
مثال
<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>
HTML <q> للاقتباسات القصيرة
تحدد علامة HTML <q>
اقتباسًا قصيرًا.
تقوم المستعرضات عادةً بإدراج علامات الاقتباس حول الاقتباس.
مثال
<p>WWF's goal is to: <q>Build a future where people live in harmony with
nature.</q></p>
HTML <abbr> للاختصارات
<abbr>
تحدد علامة HTML اختصارًا أو اختصارًا ، مثل "HTML" و "CSS" و "Mr." و "Dr." و "ASAP" و "ATM".
يمكن أن توفر علامات الاختصارات معلومات مفيدة للمتصفحات وأنظمة الترجمة ومحركات البحث.
نصيحة: استخدم سمة العنوان العام لإظهار وصف الاختصار / الاختصار عند تحريك الماوس فوق العنصر.
مثال
<p>The <abbr title="World Health Organization">WHO</abbr> was founded in
1948.</p>
HTML <address> لمعلومات الاتصال
<address>
تحدد علامة HTML معلومات الاتصال لمؤلف / مالك مستند أو مقال.
يمكن أن تكون معلومات الاتصال عبارة عن عنوان بريد إلكتروني ، وعنوان URL ، وعنوان فعلي ، ورقم هاتف ، ومعالج وسائط اجتماعية ، وما إلى ذلك.
عادةً ما يتم عرض النص في <address>
العنصر بخط مائل ،
وستضيف المتصفحات دائمًا فاصل سطر قبل <address>
العنصر وبعده.
مثال
<address>
Written by John Doe.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>
HTML <cite> لعنوان العمل
<cite>
تحدد علامة HTML عنوان العمل الإبداعي (على سبيل المثال ، كتاب ، قصيدة ، أغنية ، فيلم ، لوحة ، تمثال ، إلخ).
ملاحظة: اسم الشخص ليس عنوان العمل.
عادة ما يتم عرض النص في <cite>
العنصر بخط مائل .
مثال
<p><cite>The Scream</cite> by Edvard Munch. Painted in 1893.</p>
HTML <bdo> للتجاوز ثنائي الاتجاه
BDO تعني تجاوز ثنائي الاتجاه.
تُستخدم علامة HTML <bdo>
لتجاوز اتجاه النص الحالي:
مثال
<bdo dir="rtl">This text will be written from right to left</bdo>
تمارين HTML
اقتباس HTML وعناصر الاقتباس
Tag | Description |
---|---|
<abbr> | Defines an abbreviation or acronym |
<address> | Defines contact information for the author/owner of a document |
<bdo> | Defines the text direction |
<blockquote> | Defines a section that is quoted from another source |
<cite> | Defines the title of a work |
<q> | Defines a short inline quotation |
للحصول على قائمة كاملة بجميع علامات HTML المتاحة ، تفضل بزيارة مرجع علامات HTML الخاص بنا .