This site is mobile accessible. Press the "Tap Here" button to use a different font-size.



Smartphone icons created by Freepik - Flaticon

The Navigator Object

The language property returns the browser's language:

// detects and displays the language of the browser
document.getElementById("demo").innerHTML =
"navigator.language is " + navigator.language;