W3C中文教程
全球最大最新的中文 Web 技术教程
HTML CSS SQL PHP COLORS MYSQL BOOTSTRAP
 

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> 元素周围插入引号。

Example

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

HTML <blockquote> 用于长引用

HTML <blockquote> 元素用于定义片段引用/

浏览器通常缩进 <blockquote> 元素。

Example

<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> 元素用于定义缩写或首字母缩略语。

标记缩写可以为浏览器,翻译器和搜索引擎提供有用的信息。

Example

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

HTML <address> 用于联系信息

HTML <address> 元素用于定义文档/文章的联系信息(作者/所有者)。

<address> 元素通常以斜体显示。大多数浏览器将在元素前后添加换行符。

Example

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

HTML <cite> 用于作品标题

HTML <cite> 元素用于定义作品的标题。

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

Example

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

HTML引用元素

标签 描述
<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