W3C home > Mailing lists > Public > www-html@w3.org > May 1998

Re: <Q CITE....>

From: Ian Hickson <exxieh@bath.ac.uk>
Date: Wed, 13 May 1998 18:00:52 -0400 (EDT)
Message-ID: <000201bd7eba$92ec04c0$c920268a@hpxu>
To: Ron Neville <neviller@hotmail.com>, www-html@w3.org
Ron said:
>Excuse my ignorance, but the <Q CITE...> tag is not familiar to me.
>Just getting into HTML 4.0.  Is this something new???  Please clarify.


<Q> is a new element added in HTML4. It indicates inline quoted text (as
opposed to <BLOCKQUOTE>, which indicates a block of quoted text and which
can include paragraphs). <Q> a phrasal element, it indicates what a
particular phrase is. In this way it is similar to <STRONG>, which indicates
strongly emphasised text, <VAR> which indicates a variable, <CITE>, which
indicates a source or reference (citation), <ABBR> which indicates an
abbreviation (like "spec"), <ACRONYM> which indicates an acronym (like
"WWW") etc, etc, etc.

You can read the specification of the <Q> element at:
http://www.w3.org/TR/REC-html40/struct/text.html#h-9.2.2

You can read about the other phrasal elements at:
http://www.w3.org/TR/REC-html40/struct/text.html#h-9.2.1

But if you haven't yet, you should red the whole HTML4 spec which is at:
http://www.w3.org/TR/REC-html40/

The 'CITE' part of <Q CITE=""> part indicates who said the phrase, as in:
<Q CITE="Chris Lilley, chair of the CSS&FP Working Group">Today's release of
the CSS2 specification demonstrates the effectiveness of the W3C process and
is the culmination of more than a year's work.</Q>

Finally, according to the spec UAs should insert quotes (") around quoted
text. In practice, no UA that I know of does this. So, <Q>Hello</Q> should
be rendered "Hello". (UA=User Agent; common name: Web Browser)

[this is slightly off topic. please redirect further messages concerning
this to either news:comp.infosystems.www.authoring.html or to
exxieh@bath.ac.uk (me)]
--
Ian Hickson
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12   Info: www.geekcode.com
GIT/M/S d->-- s+: a--->? C++(+++)>$ U>*++++ P L+>+++++ E(+)>+++ W+++ N(+) o?
K? w@ O- !M V- PS+ PE- Y+ PGP>+ t 5+++>++++ X- R+(+++) tv b++(+++) DI++
D++(---)>++++ G>+++ e(*)>+++++ h!()(--) !r y?
------END GEEK CODE BLOCK------
Received on Thursday, 14 May 1998 03:18:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:36 GMT