[Discuss] HTML formatting question

Thomas McVeigh thom at idar.com
Fri Oct 13 12:38:20 PDT 2006


On 13-Oct-06, at 11:50 AM, Adam Parkin wrote:

> But the w3 validator chokes on this as apparently you cannot have a  
> font tag inside a pre tag.


What I think you want is blockquote.
  Syntax:
     <blockquote> ... </blockquote>

The blockquote tag is used to offset a block of text (a citation)  
from the rest of the document. The exact appearance will be browser  
dependent. However, the citation is usually indented on both the  
right and left margins, may be in italics, and is preceded and  
followed by paragraph breaks. You will still need to use the br, p,  
and possibly other HTML tags to effect the textual display and  
appearance that you desire. In fact, you can use any other HTML tag  
inside a blockquote, including cite and q.

It is recommended that you use the blockquote tag for long citations  
and the cite tag for short citations.

The separate closing tag is mandatory. 


More information about the Discuss mailing list