I want to take input from forms in hindi language as the user types in the form field in kruti dev style. So what changes i need to make in my input tag such that it takes input in kruti dev font.
Asked
Active
Viewed 285 times
-1
-
If you want your visitors to see the Kruti Dev font, you need to make it available via `@font-face` – disinfor Feb 07 '21 at 19:53
-
yes using @font-face I resolved the issue – ashish vyas Feb 07 '21 at 20:12
1 Answers
1
This is very simple to achieve. All your user needs to do is have hindi enabled as a keyboard through your their settings. Then when you select the hindi keyboard you can type in the input box. To set the input box to default hindi you can use the lang attribute on the input.

Love2Code
- 440
- 6
- 19
-
i want to have a input element exactly like when changing font in MS Word to kruti dev and then typing. Like i want to type text in kruti dev fonts – ashish vyas Feb 07 '21 at 19:52
-