Block Quotes
A common element in conventional documents is the block quote, a lengthy copy of text from another document. Traditionally, short quotes are set off with quotation marks, and block quotes are made entirely of separate paragraphs within the main document, typically with special indentation and sometimes italicized—features that you may change through style or class definitions (see Chapter 8).
The <blockquote> Tag
All of the text within the <blockquote> and </blockquote> tags is set off from the
regular document text, usually with indented left and right margins
and sometimes in italicized typeface. Actual rendering varies from
browser to browser, of course.
The HTML and XHTML standards allow any and all markup within the
<blockquote>, although some
physical and content-based styles may conflict with the font the
browser uses for the block quote. Experimentation will reveal those
warts.
The <blockquote> tag is
often used to set off long quotations from other sources. For example,
popular browsers display the following as an indented block of
text:
We acted incorrectly in arbitrarily changing the Kumquat Festival date. Quoting from the Kumquat Growers' Bylaws: <blockquote> The date ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access