W3C home > Mailing lists > Public > www-international@w3.org > July to September 2011

Re: For review: 1 new and 3 updated articles about language declarations in HTML

From: T. Kuro Kurosaka <kuro@bhlab.com>
Date: Mon, 22 Aug 2011 08:26:30 +0900
Message-ID: <4E519426.9080302@bhlab.com>
To: www-international@w3.org
 > Why use the language attribute?
 > http://www.w3.org/International/tutorials/new-language-decl/qa-lang-why


 > The following example shows how you can apply different quotation marks for 
quotations in German text.
 > These quotation marks will be used to surround the content of a q element
 > with the attribute lang="de".
 >
 > :lang(en) > * { quotes: '"' '"' "'" "'"; }
 > :lang(en) > * { quotes: '„' '“' '‚' '‘'; }
 > q:before { content: open-quote; }
 > q:after { content: close-quote;	}


Perhaps this sample illustrates how to change quotation marks
depending on the language, and the the second line meant to
be :lang(de) rather?
I didn't get what the last two lines mean but that's probably because
I don't have enough knowledge about CSS that this article requires.

-- 
KUROSAKA ("Kuro") Teruhiko, Berkeley, California, USA
Received on Sunday, 21 August 2011 23:27:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 21 August 2011 23:27:09 GMT