redd 發表於 2016-7-13 11:34:02

HTML5 的 lang 要怎麼設定?

以台灣繁體標示 : zh-Hant-TW
<!DOCTYPE html>
<htmllang="zh-Hant-TW">
<head>
<title>Redd Design</title>
</head>
<body>
</body>
</html>

redd 發表於 2016-7-13 11:36:41

zh-Hans 簡體中文

zh-Hans-CN 大陸地區使用的簡體中文

zh-Hans-HK 香港地區使用的簡體中文

zh-Hans-MO 澳門使用的簡體中文

zh-Hans-SG 新加坡使用的簡體中文

zh-Hans-TW 臺灣使用的簡體中文

zh-Hant 繁體中文

zh-Hant-CN 大陸地區使用的繁體中文

zh-Hant-HK 香港地區使用的繁體中文

zh-Hant-MO 澳門使用的繁體中文

zh-Hant-SG 新加坡使用的繁體中文

zh-Hant-TW 臺灣使用的繁體中文

redd 發表於 2016-7-13 11:52:25

http://www.w3schools.com/tags/ref_language_codes.asp
頁: [1]
查看完整版本: HTML5 的 lang 要怎麼設定?