Is 'en-EU' a valid value for HTML 'lang' attribute?

你。 提交于 2019-11-30 09:29:17

Why not?

  1. HTML5 (CR) defines that the "value must be a valid BCP 47 language tag, or the empty string".

  2. BCP 47 defines that the "IANA Language Subtag Registry […] contains a comprehensive list of all of the subtags valid in language tags".

  3. IANA Language Subtag Registry contains the subtag EU of type region.

It’s not up to anyone to formally define if or which linguistic variations are spoken in which regions. Language changes constantly, speakers live and die everywhere.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!