Learning HTML by yourself
3B - Extended Quotations and the <BLOCKQUOTE> tag.
30/10/2011 13:38
Sometimes when you're designing a Web page you'll have a quote you wish to highlight within the text. The tag is used to automatically indent and separate the quote from the rest of the text. For example:My favorite passage in Henry V is <p>
<blockquote> I see you stand like greyhounds in the slips, <p>
Straining upon the start. The game's afoot:<p>
Follow your spirit, and upon this charge, <p>
Cry 'God for Harry, England, and Saint George!' </blockquote> <p>
Though I think the St. Crispan's speech is pretty good too.<p>
The result is:
My favorite passage in Henry V is
I see you stand like greyhounds in the slips,
Straining upon the start. The game's afoot:
Follow your spirit, and upon this charge,
Cry 'God for Harry, England, and Saint George!'
Though I think the St. Crispan's speech is pretty good, too.
The <blockquote> tag distinguishes the quote from the other text by giving it some space and indenting it. In this case, we've also used a few line break tags, <br>'s, to split each line.
No assignment here, but the notes are very clear. You need to remember this for the test.
—————