<q> ... </q>
Available in versions: 4.0
The <q> tag takes the selected block of text and displays it as a quote which is
enclosed by a pair of double quotes.
Unlike the blockquote tag, the q quote is not preceded or followed by paragraph breaks.
So the quote remains inline.
You may still need to use other HTML tags to effect the textual display and appearance that you desire.
Since this tag is poorly supported, you should simply use quotation marks.
It is recommended that you use the blockquote tag for long citations
and the cite tag for short citations.
The closing tag is mandatory.
Core Attributes
class
dir
id
lang
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
style
title
Attributes
cite
The cite attribute is used to provide a reference to the URL that is the source of the quote.
Few browsers recognize this tag.
Code:
<q>His enthusiasm was only exceeded by his lack of enthusiasm!</q>
Output:
His enthusiasm was only exceeded by his lack of enthusiasm!
Copyright 2000 by Infinite Software
Solutions, Inc.
Trademark Information
|