What is the use of lang in <head lang=''>
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.