Friday, November 19, 2010

How to change the default language of html pages ?

For an ex, i have created a web page which will display in English language. But i want to change / display it in someother lang. For ex in spanish .



Anyone give me the html tag for this.



Thanks in advance.How to change the default language of html pages ?
There is no html tag for that. Browsers read only the tags and what you input into the html file. You need to translate and re-write all the text in Spanish. You dont need to change the tags since thats the standard language for HTML, but you do need to translate and re-write all the text part into the language of your choice.



For example:

%26lt;html%26gt;

%26lt;body%26gt;

Hello, my name is Sean!

%26lt;/body%26gt;

%26lt;/html%26gt;



Just change it to:

%26lt;html%26gt;

%26lt;body%26gt;

Hola, me llamo Sean!

%26lt;/body%26gt;

%26lt;/html%26gt;

No comments:

Post a Comment