HTML text Formatting [] Long and short quotations

Long and short quotations

<!DOCTYPE html>
<html>
<body>
<h2>The &lt;blockquote&gt; tag</h2>
<p>The &lt;blockquote&gt; tag specifies a section that is quoted from another source.</p>
<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>
<p><b>Note:</b> Browsers usually indent &lt;blockquote&gt; elements.</p>
<h2>The &lt;q&gt; tag</h2>
<p>The &lt;q&gt; tag defines a short quotation.</p>
<p>WWF's goal is to: <q>Build a future where people live in harmony with nature.</q> We hope they succeed.</p>
<p><b>Note:</b> Browsers insert quotation marks around the &lt;q&gt; tag.</p>
</body>
</html>

Output

The <blockquote> tag

The <blockquote> tag specifies a section that is quoted from another source.

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.


Note: Browsers usually indent <blockquote> elements.

The <q> tag

The <q> tag defines a short quotation.

WWF's goal is to: Build a future where people live in harmony with nature. We hope they succeed.

Note: Browsers insert quotation marks around the <q> tag.

ليست هناك تعليقات:

إرسال تعليق