Lang属性值 [英] Lang attribute values

查看:89
本文介绍了Lang属性值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



一直在寻找,发现
http://www.w3.org/WAI/ER/IG/ert/iso639.htm 这很棒,因为我已经

寻找可接受的代码指南。


我看到像lang =" en-us" - 那个扩展,那是从哪里来的?

在某处有编纂吗?

解决方案

Neal< ne ***** @ spamrcn.com>写道:


一直在寻找,发现
http://www.w3.org/WAI/ER/IG/ert/iso639.htm 这很棒,因为我有一直在寻找可以接受的代码的指南。

我看到像lang =" en-us" - 那个扩展,那是从哪里来的?在某处有编纂吗?




RFC 1766: http://www.ietf.org/rfc/rfc1766.txt


-

Harlan Messinger

从我的电子邮件地址中删除第一个点。

Veuillez?ter le premier point de mon adresse de courriel。


Harlan Messinger< hm ******************* @ comcast.net>写道:

我看到像lang =" en-us" - 那个扩展名,来自哪里?
某处有编纂吗?



RFC 1766: http://www.ietf.org/rfc/rfc1766.txt




RFC 1766已被RFC 3066和RFC 3282取代。


有关语言代码的更多信息,请参阅
http://webtips.dan.info/language.html
http://xml.coverpages.org/languageIdentifiers.html


我是害怕HTML中只有一个语言代码的详细调查,

,它是芬兰语( http://www.cs.tut.fi/~jkorpela/kielimerkkaus/

我没有计划翻译它。但别担心。对于它最多的b $ b,语言标记主要是理论上的写作练习

正确的标记,甚至W3C也不会认真对待这个工作。 >
他们自己的页面(包括语言标记页面)。


特别是,最好使用lang =" en。国家规范者几乎没有b $ b帮助当今世界的任何人。


-

Yucca, http://www.cs.tut.fi/~jkorpela/

有关网页制作的网页: http://www.cs。 tut.fi/~jkorpela/www.html


2004年1月21日星期三07:13:34 -0500,Harlan Messinger

< hm ******************* @ comcast.net>写道:

Neal< ne ***** @ spamrcn.com>写道:


一直在寻找,发现
http://www.w3.org/WAI/ER/IG/ert/iso639.htm 这很棒,因为我有一直在寻找可以接受的代码的指南。

我看到像lang =" en-us" - 那个扩展,那是从哪里来的?在某处有编纂吗?



RFC 1766: http://www.ietf.org/rfc/rfc1766.txt




谢谢。子标签 - 我从这一切中得到的是我们基本上

组成的东西。我不确定这是否准确。除了你链接的文件

中列出的广泛类型之外,子标签实际上是否设置了限制

?我在想,必须有一张那些漂浮在周围的名单......但是我找不到它们。



Been searching around, and found
http://www.w3.org/WAI/ER/IG/ert/iso639.htm which is great, as I''ve been
looking for a guide to what codes are acceptable.

I see stuff like lang="en-us" - that extension, where is that from? Is
there a codification somewhere?

解决方案

Neal <ne*****@spamrcn.com> wrote:


Been searching around, and found
http://www.w3.org/WAI/ER/IG/ert/iso639.htm which is great, as I''ve been
looking for a guide to what codes are acceptable.

I see stuff like lang="en-us" - that extension, where is that from? Is
there a codification somewhere?



RFC 1766: http://www.ietf.org/rfc/rfc1766.txt

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ?ter le premier point de mon adresse de courriel.


Harlan Messinger <hm*******************@comcast.net> wrote:

I see stuff like lang="en-us" - that extension, where is that from?
Is there a codification somewhere?



RFC 1766: http://www.ietf.org/rfc/rfc1766.txt



RFC 1766 has been superseded by RFC 3066 and RFC 3282.

For more info on language codes see
http://webtips.dan.info/language.html
http://xml.coverpages.org/languageIdentifiers.html

I''m afraid there''s only one detailed survey of language codes in HTML,
and it''s in Finnish ( http://www.cs.tut.fi/~jkorpela/kielimerkkaus/ )
and I have no plans for translating it. But don''t worry. For the most
of it, language markup is mostly an exercise in writing theoretically
correct markup, and even the W3C doesn''t take that job seriously on
their own pages (including the pages on language markup).

In particular, it''s best to use lang="en". The country specifier hardly
helps anyone in the present world.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


On Wed, 21 Jan 2004 07:13:34 -0500, Harlan Messinger
<hm*******************@comcast.net> wrote:

Neal <ne*****@spamrcn.com> wrote:


Been searching around, and found
http://www.w3.org/WAI/ER/IG/ert/iso639.htm which is great, as I''ve been
looking for a guide to what codes are acceptable.

I see stuff like lang="en-us" - that extension, where is that from? Is
there a codification somewhere?



RFC 1766: http://www.ietf.org/rfc/rfc1766.txt



Thanks. The subtag - what I''m getting from all this is that we basically
make up something. I''m not confident that''s accurate. Are there set limits
on what the subtag can actually be, aside from the broad types listed in
the document you linked? I''m imagining there must be a list of those
floating around... but I''m not finding them.


这篇关于Lang属性值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆