最新的Web开发教程

HTML报价和引用元素

Quotation

Here is a quote from WWF's website:

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.


HTML <q>为短语录

的HTML <q>元素定义了一个短的引用。

浏览器通常插入围绕引号<q>元素。

<p>WWF's goal is to: <q>Build a future where people live in harmony with nature.</q></p>
试一试»

HTML <blockquote>长期语录

的HTML <blockquote>元素定义了引号部分。

浏览器通常缩进<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 <abbr>为缩写

的HTML <abbr>元素定义的缩写或首字母缩写。

标记的缩写可以给你的浏览器,翻译系统和搜索引擎的有用信息。

<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>
试一试»

HTML <address>的联系信息

的HTML <address>元素定义的联系人信息(author/owner)一个文件或物品。

所述<address>元素通常被显示在斜体。 大多数浏览器会前和元素之后添加换行符。

<address>
Written by John Doe.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>
试一试»

HTML <cite>的工作标题

的HTML <cite>元素定义一个作品的标题。

浏览器通常显示<cite>斜体元素。

<p><cite>The Scream</cite> by Edvard Munch. Painted in 1893.</p>
试一试»

HTML <bdo>双向覆盖

的HTML <bdo>元素定义双向覆盖。

所述<bdo>元件用于覆盖当前文本方向:

<bdo dir="rtl">This text will be written from right to left</bdo>
试一试»

测试自己与练习!

练习1» 练习2» 练习3» 练习4»


HTML报价和引用元素

标签 描述
<abbr> 定义的缩写或缩写
<address> 定义的联系信息文档的作者/所有者
<bdo> 定义文本方向
<blockquote> 定义从另一个源引述部分
<cite> 定义作品的标题
<q> 定义短的直列报价