Errata: Error for the tag <Q>

In http://www.w3.org/TR/html4/struct/text.html#edef-Q

Q is defined, but the rendering rules and assertions are not true, 
they are not false too, BTW. They are confusing.

the lang attribute is here to specify the language enclosed in the tag.
<p lang="fr">ce texte est français</p>. We, all, agree with that.

Imagine that you have a french document

<html lang="fr">
blabla

<p>Un long texte français.</p>
<q lang="en">This is an english quotation</q>

</html>

The quotation marks must be rendered as french quotation mark, not 
english one. The quotation marks must herited their style from the 
parent lang attribute.

So in this case:

Un long texte en français.

« This is an english quotation »


******************

Rendering quotations 

Visual user agents generally render BLOCKQUOTE as an indented block.

Visual user agents must ensure that the content of the Q element is 
rendered with delimiting quotation marks. Authors should not put 
quotation marks at the beginning and end of the content of a Q 
element.

User agents should render quotation marks in a language-sensitive 
manner (see the lang attribute). Many languages adopt different 
quotation styles for outer and inner (nested) quotations, which 
should be respected by user-agents.

The following example illustrates nested quotations with the Q element.


John said, <Q lang="en-us">I saw Lucy at lunch, she told me
<Q lang="en-us">Mary wants you
to get some ice cream on your way home.</Q> I think I will get
some at Ben and Jerry's, on Gloucester Road.</Q>


Since the language of both quotations is American English, user 
agents should render them appropriately, for example with single 
quote marks around the inner quotation and double quote marks around 
the outer quotation:


   John said, "I saw Lucy at lunch, she told me 'Mary wants you
   to get some ice cream on your way home.' I think I will get some
   at Ben and Jerry's, on Gloucester Road."

-- 
Karl Dubost / W3C - Conformance Manager
           http://www.w3.org/

      --- Be Strict To Be Cool! ---

Received on Wednesday, 13 December 2000 13:05:01 UTC