NDEFRecord: lang property
Web NFC API
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