Re: <Q CITE....>

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 UTC