lang Attribute
lang Attribute
The lang attribute is used to define the language of the content of the element. Its common example is "en" for simple English, "en-US" for USA English, and "es" for Spanish.
Attribute Explanation:-
Value | Description |
---|---|
languageCode | Specifies language code for element's content. |
Syntax:-
Its syntax is:- < element lang="languageCode" >
Code Explanation
All Tutorials related to HTML Global Attributes
accesskey Attribute
class Attribute
contenteditable Attribute
data-* Attributes
dir Attribute
draggable Attributes
hidden Attribute
id Attribute
lang Attribute
spellcheck Attribute
style Attribute
tabindex Attribute
title Attribute
translate Attribute