![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Greetings. Do any popular browsers correctly support <q>, at least for Western languages? I've noticed that Mozilla uses the standard English double-quote character, ", regardless of the lang attribute of the HTML document. Will any browsers render German-style quotes or French-style guillemots for lang="de" and lang="fr", respectively? |
#3
| |||
| |||
|
|
Greetings. Do any popular browsers correctly support <q>, at least for Western languages? I've noticed that Mozilla uses the standard English double-quote character, ", regardless of the lang attribute of the HTML document. Will any browsers render German-style quotes or French-style guillemots for lang="de" and lang="fr", respectively? Regards, Tristan -- _ _V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited / |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard (7_\\ http://www.nothingisreal.com/ >< To finish what you |
#4
| |||
| |||
|
|
Do any popular browsers correctly support <q |
|
I've noticed that Mozilla uses the standard English double-quote character, ", regardless of the lang attribute of the HTML document. |
|
Will any browsers render German-style quotes or French-style guillemots for lang="de" and lang="fr", respectively? |
#5
| |||
| |||
|
|
Greetings. Do any popular browsers correctly support <q>, at least for Western languages? I've noticed that Mozilla uses the standard English double-quote character, ", regardless of the lang attribute of the HTML document. Will any browsers render German-style quotes or French-style guillemots for lang="de" and lang="fr", respectively? |

#6
| |||
| |||
|
|
AIUI, a browser is not required to make allowances for the declared language; |
|
if you want these changes, you are supposed to use CSS to specify them |
(shameless snippet from CSS2 spec![]() Q:lang(en) { quotes: '"' '"' "'" "'" } Q:lang(no) { quotes: "«" "»" "<" ">" } |
#7
| ||||||
| ||||||
|
|
Micah Cowan <micah (AT) cowan (DOT) name> wrote: AIUI, a browser is not required to make allowances for the declared language; The HTML specification says: "User agents should render quotation marks in a language-sensitive manner (see the lang attribute)." In that sense, it's not a requirement for conformance to recommendation, just a recommendation in the recommendation. :-) On the other hand, it is a bit unrealistic to say that user agents should behave that way, since it is rather hard to support all the thousands of languages, even in a detail like this, since official information on punctuation rules is not easy to find. if you want these changes, you are supposed to use CSS to specify them No, you're not. The HTML specification says that browsers should do such things automatically. |
|
And in practical terms, <q> markup is useless. |
(shameless snippet from CSS2 spec![]() Q:lang(en) { quotes: '"' '"' "'" "'" } Q:lang(no) { quotes: "«" "»" "<" ">" } How typical. Both rules are completely wrong, by the rules of those languages. Correct English orthography uses none of the characters listed, and Norwegian surely does not use less than sign and greater than sign as inner quotes. |
|
To repeat myself: Forget <q>. |
|
Use plain Ascii quotation marks |
|
, unless you _know_ the correct use of punctuation characters in the language of the context where the quotation appears and you can be reasonably sure that browsers support those characters well enough. |
#8
| |||
| |||
|
|
such things automatically. And in practical terms, <q> markup is useless. |
#9
| |||||||
| |||||||
|
|
SHOULD and MUST are very different--formally. |
|
You *are* supposed to use CSS if you want to force a conforming user-agent to Do The Right Thing(TM). |
|
Agreed about (en); although even if it had been correct, I didn't post using an encoding that would have allowed more appropriate ones. |
|
As to (no); you're right, that's stupid. That's how they were in the CSS2 standard, though (should've been ‹ and › I believe) |
|
To repeat myself: Forget <q>. But only until the stupid mainstream browsers (IOW, MSIE) get it right. |
|
Use plain Ascii quotation marks Why? Every browser I've seen supports “, ”, etc. |
|
, unless you _know_ the correct use of punctuation characters in the language of the context where the quotation appears and you can be reasonably sure that browsers support those characters well enough. But when you *don't* know this, are you sure that the Ascii quotation marks are appropriate? |
#10
| |||
| |||
|
|
such things automatically. And in practical terms, <q> markup is useless. So. In practical terms, marking up an inline quotation as an inline quotation is useless. |
|
This is good to know. |
![]() |
| Thread Tools | |
| Display Modes | |
| |