Blockquote tag
From Dharmasphere
Contents |
<blockquote> Blockquote Tag
You may wish to use a quote from another source on a web page you are writing. For example, you might quote from a book, newspaper, an article from another website or from an email you've received.
The default display for a blockquote element is for the browser to indent the contents on both the left and right sides. We could optionally use CSS to style our page and make the quotes display in a particular way.
Example
This code:
<blockquote> <p> Arthur: You know, it's at times like this, when I'm trapped in a Vogon airlock with a man from Betelguese, and about to die of asphyxiation in deep space that I really wish I'd listened to what my mother told me when I was young. </p> <p>Ford: Why, what did she tell you?</p> <p>Arthur: I don't know, I didn't listen.</p> </blockquote>
Will display:
Arthur: You know, it's at times like this, when I'm trapped in a Vogon airlock with a man from Betelguese, and about to die of asphyxiation in deep space that I really wish I'd listened to what my mother told me when I was young.
Ford: Why, what did she tell you?
Arthur: I don't know, I didn't listen.
Citing Your Sources
If the source of the quote is a web address, you can use the cite attribute of the blockquote tag to specify this source:
<blockquote cite="http://www.hitchhikersguide.com"> <p>Arthur: You know, it's at times like this...</p> </blockquote>

