XHTML 101
Lesson 3 - Part 1
Using <blockquote></blockquote>
Last week we learned how to create paragraphs, line breaks and header tags. We also styled text with strong and emphasis, but there are many
other things we can do with the text. One of the most popular things is the
<blockquote></blockquote> - with this tag you can define a block of
text as a quotation.
For example:
Twas brillig and the slithey toves
Did gyre and gimble in the wabe
Some older browsers may render blockquoted text as italic as well as indented
as it was meant to be used for quotations.
To add the <blockquote></blockquote> tag to your text, simply surround the text
that is a quotation with <blockquote></blockquote>.
For example:
<blockquote>
Twas brillig and the slithey toves
Did gyre and gimble in the wabe
</blockquote>
Learn more about the <blockquote></blockquote> tag.
Remember - Blockquote is Not Just for Indenting
If you just need text indented, you should use style sheets:
This paragraph has been indented 10 px on the right and left. This is done using
the style property margin.
<p style="margin : 0 10px 0 10px;">
|