Web | Blockquote tag

Page 79

The <blockquote> tag defines a long quotation.

A browser inserts white space before and after a blockquote element. It also insert margins for the blockquote element.

<!DOCTYPE html>

<p>Here is a quote from WWF’s website:
<blockquote cite=”http://www.wwf.org“>
WWF’s ultimate goal is to build a future where people live in harmony with nature.
We hope that they succeed.


Note: To validate a blockquote element as strict HTML/XHTML, the element must contain only other block-level elements, like this:

<p>Here is a long quotation here is a long quotation</p>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s