HTML DOM Element lang
HTML DOM Element lang Property
The lang property is used to either set or return the value of the element lang attribute.
Syntax:-
Its syntax is:- element.lang OR element.lang = language_code
Return:-
Its return is:- value of the element lang attribute
Further Explanation:-
Value | Description |
language_code | The value for the element lang attribute. |