LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-01-2006, 12:13 PM   #1
tooparam
Member
 
Registered: Nov 2005
Location: India
Distribution: Slackware
Posts: 51

Rep: Reputation: 15
What is the use of lang in <head lang=''>


Hi there

It is documented that lang attribute of <head> or <body> is used to specify different languages. But how does it work. Not clear. Actually I want to incorporate Portuguese(which uses many symbols) in my web site. Can lang attribute be of some help to me.

Please help.
 
Old 02-01-2006, 05:02 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Moved to programming...
 
Old 02-01-2006, 05:55 PM   #3
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
This is the primary language of the web page (or element - it can be attributed to a p tag) This is essentially used by web spider, search engines to collect data and my be used by the browser to improve the rendering of the text. However this is not the same as the encoding that will tell the browser amongst other things the character set being used.

graeme.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
switch lang rohr Debian 7 07-04-2005 08:51 AM
What a good lang. Dark_Sniper* Programming 19 05-21-2005 05:38 AM
LANG settings r_213 Linux - Software 4 01-13-2005 03:26 AM
most useful prog lang huffboy Programming 8 10-05-2003 12:40 AM
What lang for What titanium_geek Programming 6 03-28-2003 04:53 PM


All times are GMT -5. The time now is 03:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration