Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set default language for HTML input`s

How to set default keyboard layout for input boxes, for example when the page gets loaded, we can type in an input text with another keyboard language else than English?

like image 496
bizzr3 Avatar asked May 27 '12 10:05

bizzr3


People also ask

How do you change the input field language in HTML?

Using the lang attribute (and xml:lang in XHTML) is the right way.

What is default type of HTML inputs?

If the type attribute is not specified, the default type is "text".

How do I change my default keyboard language?

Click Start > Control Panel. Under Clock, Language, and Region, click Change keyboards or other input methods. Note: If you don't see Clock, Language, and Region, click Category in the View by menu at the top of the page. In the Region and Language dialog box, on the Keyboards and Languages tab, click Change keyboards.


1 Answers

I'd think about the lang attribute. But this is meta-information, I'm really not sure the browser will do anything with it. Never tried it myself.

<input lang="is" ...>
like image 147
Pierre Avatar answered Sep 20 '22 22:09

Pierre