cite tag
pre tag
q tag
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" "DTD/xhtml-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="eng">
<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...<p />
- 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-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information