1. Home
  2. Computing & Technology
  3. Web Design / HTML

What is a Blockquote?

By , About.com Guide

Question: What is a Blockquote?
Answer:

When you're writing text in a Web page, you sometimes want to call out a block of text as a quotation. In publishing this is sometimes called a pull-quote, and in Web design it's called a blockquote.

You use blockquote to define long quotations, such as this excerpt from "The Jabberwocky" by Lewis Carroll:

'Twas brillig and the slithey toves
Did gyre and gimble in the wabe:

(by Lewis Carroll)

The blockquote tag was intended to be used just for quotations, and some older browsers display the text in italics as well as indented.

To add the <blockquote></blockquote> tag to your text, simply surround the text that is a quotation with <blockquote></blockquote> For example:

<blockquote cite="http://www.jabberwocky.com/carroll/jabber/jabberwocky.html">
'Twas brillig and the slithey toves
Did gyre and gimble in the wabe:
</blockquote>

Learn more about the <blockquote></blockquote> tag.

Blockquote is ONLY for Quotations

If you need to indent your text, you should use style sheets. Try putting this code in your Web page:

<p style="margin : 0 10px 0 10px;">
This paragraph has been indented 10 px on the right and left.
</p>

You should only indent using the margin style property.

Explore Web Design / HTML
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. Blockquote - What is a Blockquote - Quotation Blocks - Blockquotes>

©2009 About.com, a part of The New York Times Company.

All rights reserved.