martin2k

The BLOCKQUOTE Tag

HomeForumTutorials Tags:
 
 

Name

Block Quote

Description

This tag is used to mark text as being a long quote.  When used, a blank space is placed either side of the text.

Attributes

Example

Code

<blockquote>
This text is quoted from another source.  When the BLOCKQUOTE tag is used, a blank space
is placed either side of the text to make it standout from the rest of the text.  You may
want to italicise the text so that it stands out as a quote even more and put the source
of the quote after the closing BLOCKQUOTE tag.
</blockquote>

Generates

This text is quoted from another source. When the BLOCKQUOTE tag is used, a blank space is placed either side of the text to make it standout from the rest of the text. You may want to italicise the text so that it stands out as a quote even more and put the source of the quote after the closing BLOCKQUOTE tag.

Code

To get a line to appear down the left hand side of the text, such as how it can appear when replying to an e-mail in Microsoft Outlook, you can use the standard STYLE attribute:

<blockquote style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #00ff00 2px solid">
This text will have a green line down the left hand side.
</blockquote>

Generates

This text will have a green line down the left hand side.

Please fill in the below form if you have any comments or additional information you want to add about the above information.  If you have any questions, please visit the ForumAny questions sent using this form will be ignored.

* - Mandatory

*Name: E-mail:

*Comments:

*Please type the following code (your comment cannot be accepted without it):


© Martin Allen 1999 - 2006.  Last updated Sunday 01 October 2006 06:18:17 PM +0100.