Web NFC API
The lang
property of the NDEFRecord interface returns the language of
a textual payload, or null if one was not supplied.
The record might be missing a language tag, for example, if the recorded information is not locale-specific.
Value
A string.
Specifications
Browser compatibility
See also
- HTML
langattribute, that declares content language of the document or its elements - HTTP headers that declare content language: Content-Language and Accept-Language
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
