web api instance property
NDEFRecord: lang property
Secure contextLimited availability
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
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.
See also
- HTML
langattribute, that declares content language of the document or its elements - HTTP headers that declare content language:
Content-LanguageandAccept-Language