Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Swordmaker
You might also want to add the <blockquote> </blockquote> tags to your list. This pair or tags causes the text inside to be indented below the preceding text. The blockquote tags are useful for quoting text from an outside source such as a book.
Here's what blockquoted text looks like.

27 posted on 05/31/2008 11:25:55 PM PDT by SeeSharp
[ Post Reply | Private Reply | To 25 | View Replies ]


To: SeeSharp; All
You just did... but let me add an example that might help:

Here comes a really long quotation which adds white space on either side, inside of the main text body's margins. The command to start a blockquote is <blockquote>.

Be careful on spelling on this command... it's long and you can easily misspell it. For example, <blockqwote> will not work because it is misspelled.

Here is that really long quote:

Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.

Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this.

But, in a larger sense, we can not dedicate -- we can not consecrate -- we can not hallow -- this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us -- that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion -- that we here highly resolve that these dead shall not have died in vain -- that this nation, under God, shall have a new birth of freedom -- and that government of the people, by the people, for the people, shall not perish from the earth.

There went a really long quote. Well, actually, it was a really short speech, but a long quote.

Once the blockquote is finished, turn off the attribute with the </blockquote> command.

Note, that the <blockquote> attribute continues until it is switched off with </blockquote>, spanning across paragraphs, tables, etc.
You can also nest blockquotes an unlimited number of times... which can get silly, so use it sparingly.

Lists that are incorporated into a blockquote will indent from the left margin of the blockquote.

  • This is a list item
  • This is another list item
  • This is another list item
When the list is closed, the formatting returns to the previous blockquote level.

For every opening <blockquote> command, there must be a closing </blockquote> command. Only when every <blockquote> is closed will the margins return to normal.

Like this. This example has finally returned to the normal margins that this post started with but it took TWO consecutive </blockquote>s in a row to do it. E.G. </blockquote></blockquote>

Blockquoting comes in quite handy when you are replying to a long post and want to set off parts of the original you are quoting from your replies. It makes it easier for readers to understand. In addition to italicizing the person you are quoting, setting off your replies in blockquotes will better differentiate between his comment and your reply. Like this example using SeeSharp's comment to me about blockquotes:


You might also want to add the <blockquote> </blockquote> tags to your list. This pair or tags causes the text inside to be indented below the preceding text. The blockquote tags are useful for quoting text from an outside source such as a book.

Yes, I can see the need for a good explanation of using blockquotes in the HTML Sandbox. Thanks for the suggestion. In fact, I am implementing it even as we correspond... neat, huh?


If your answer is going to be longer than the quotation, you might want to reverse which is blockquoted.

P.S. Those horizontal rules were created by simply placing <hr><p> on a line by itself.

34 posted on 06/01/2008 12:21:53 AM PDT by Swordmaker (Remember, the proper pronunciation of IE is "AAAAIIIIIEEEEEEE!)
[ Post Reply | Private Reply | To 27 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson