HTML and CSS Reference
In-Depth Information
soliloquy I used in the example for line breaks would have worked better as a <block-
quote> than as a simple paragraph. Here's an input example:
“During the whole of a dull, dark, and soundless day in the autumn
of the year, when the clouds hung oppressively low in the heavens,
I had been passing alone, on horseback, through a singularly dreary
tract of country, and at length found myself, as the shades of evening
grew on, within view of the melancholy House of Usher.”—-Edgar Allen Poe
As with paragraphs, you can split lines in a <blockquote> using the line break tag, <br> .
The following input example shows an example of this use:
Guns aren't lawful, <br />
nooses give.<br />
gas smells awful.<br />
You might as well live.<br />
—-Dorothy Parker
Figure 7.12 shows how the preceding input example appears in a browser.
A block quotation.
The <blockquote> tag is often used not to set off quotations
within text, but rather to create margins on both sides of a page in
order to make it more readable. This technique works, but strictly
speaking, it's a misuse of the tag. These days, you should control
margins with CSS, as explained in Lesson 8.
Search WWH ::

Custom Search