Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<input lang="fa" />
1-lang attribute in html tags above waht means and what usage?

2-how i can set a other language to a input box in html?
Posted

The HTML lang attribute can be used to declare the language of a Web page or a portion of a Web page. This is meant to assist search engines and browsers.

According to the W3C recommendation you should declare the primary language for each Web page with the lang attribute inside the <html> tag, like this:
HTML
<html lang="en">
...
</html>


Source: http://www.w3schools.com/TAgs/ref_language_codes.asp[^]
 
Share this answer
 
Dear Friend,

you can refer the google for this.

http://www.w3schools.com/tags/ref_language_codes.asp[^]

Refer the below link for the more reference.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900