Thank you!

On Sat, Jul 9, 2011 at 4:20 PM, Jukka K. Korpela <jkorp...@cs.tut.fi> wrote:

> 2011-07-09 22:44, Ted Rolle Jr. wrote:
>
>  Would having the language declaration at the <html> level mean that
>> there must be two HTML pages?
>> <html lang="zh-tw">
>> </html>
>> <html lang="en">
>> </html>
>>
>
> No, you would use <html lang="..."> to specify the overall (main) language
> of the page and lang attributes in other elements to specify that their
> language is different, e.g.
>
> <html lang="en">
> [...]
> <blockquote lang="zh-TW">...</blockquote>
>
> If you additionally use a class attribute, to make styling possible on old
> browsers not supporting language-related selectors, you would write e.g.
>
> <html lang="en" class="en">
> [...]
> <blockquote lang="zh-TW" class="zh-TW">...</blockquote>
>
> A simple selector like .zh-TW would suffice if you just have e.g. elements
> containing Chinese inside a document otherwise in English, with no such
> complications as Chinese text containing English.
>
> --
> Yucca, http://www.cs.tut.fi/~**jkorpela/<http://www.cs.tut.fi/%7Ejkorpela/>
> ______________________________**______________________________**__________
> css-discuss [css-d@lists.css-discuss.org]
> http://www.css-discuss.org/**mailman/listinfo/css-d<http://www.css-discuss.org/mailman/listinfo/css-d>
> List wiki/FAQ -- 
> http://css-discuss.incutio.**com/<http://css-discuss.incutio.com/>
> List policies -- 
> http://css-discuss.org/**policies.html<http://css-discuss.org/policies.html>
> Supported by evolt.org -- 
> http://www.evolt.org/help_**support_evolt/<http://www.evolt.org/help_support_evolt/>
>



-- 
+-------------------------------------------------------------------------------------------------+
| 3.14159 26535 89793 23846 26433 83279 50288   May the Spirit     |
|   41971 69399 37510 58209 74944 59230 78164      of pi spread      |
|   06286 20899 86280 34825 32411 70679 82148  around the world.  |
|   08651 32823 06647 09384 46095 50582 ...        PI VOBISCUM!    |
+-------------------------------------------------------------------------------------------------+
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to