In HTML5, we can mention lang of input.
Currently I have one input type=number field. If browser language is set to German then its allowing ',' (comma) but if browser language is set to English then it wont allow comma.
So I added lang attribute for html tag only, but its not allowing comma.
I have created jsbin for same.
HTML:
<!DOCTYPE html>
<html lang='de-AT' xml:lang="de-AT">
<head>
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<input type="number">
</body>
</html>
What is best way to set language as German (de-AT) for input ?