Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project









TAG:  blockquote

<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.
 
Attributes and Events
 
class    dir    id    lang    onclick    ondblclick    onkeydown    onkeypress    onkeyup    onmousedown    onmousemove    onmouseout    onmouseover    onmouseup    style    title
 
cite
The cite attribute is used to provide a reference to the URL that is the source of the citation.
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>DevGuru XHTML blockquote Tag Example</title>
</head>
<body>
Some writers make you think:
<blockquote cite="http://www.hermanmelville.com">
Push not off from that isle,<br />
thou canst never return...<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Herman Melville
</blockquote>
</body>
</html>

 
Output:
Some writers make you think:
Push not off from that isle,
thou canst never return...

          - Herman Melville



 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information