The html element says: <html lang="ko">. A meta statement in the head element says: <meta http-equiv="Content-Language" content="zh" />. There is no HTTP Content-Language information. The tests try to determine which declaration takes priority. Since a lang attribute in the html tag takes priority over an HTTP language declaration, we will test the hypothesis that Korean will win out.

Styling with :lang

Objective: Does the user agent pick up the language declaration from the html tag rather than the meta tag?

CSS in the style element says: div:lang(ko) { background-color:green; ... } and div:lang(zh) { background-color:#ff6633; ...};.

If the background color of this text is orange , then :lang is supported. If so, check whether the background color of the text below is green (Korean) or orange (Chinese).

Is this green?

Automatic font assignment

Objective: Does the user agent pick up the language declaration for CJK font assignment from the html tag rather than the meta tag?

Ensure that different default fonts are assigned for Simplified Chinese, Traditional Chinese, Japanese, and Korean in your browser options. Then check whether there is variation in the fonts used for the following characters.

雪 zh-CN

雪 zh-TW

雪 zh-HK

雪 ja

雪 ko

If there is variation in the above characters, check whether the ideograph in the box uses the Korean (ko) font or a Chinese (zh) font.

Version: $Id: sec-lang-decl-8.html,v 1.3 2008/08/18 15:09:00 rishida Exp $