On 25 Jul 98, richard winter wrote:

> does the <lang> attribute actually transcribe the text that follows into
> the language code i input for it? have any of you ever used this one?

Well... not sure if I exactly follow the question (and the answer is moot 
because as far as I know NS and MSIE don't support it anyway); but my 
understanding of how it *should* work is that the lang attribute would tell 
the browser "try to use the quotation marks, ligatures, etc, that are most 
appropriate for this language code". 

So if I were working in French (as I often do), I might have 

        <p lang="fr">Le stylo de &quot;ma tante&quot; est sur le table</p>

... with the expectation that the quotation marks would be properly 
rendered in the French style (i.e., stylo de <<ma tante>> est...)  
Conversely, if in the next paragraph I wanted quotation marks to be 
English-style I might have  

        <h2 lang="en">Clinton a &quot;randy lad&quot;, Brits believe</h2>

... which would produce "randy lad".

A nice idea, but unless I'm doing something wrong I haven't seen any 
evidence that it actually works in current browsers.

-----------
Brent Eades, Almonte, Ontario
   E-mail: [EMAIL PROTECTED]
           [EMAIL PROTECTED]
   Town of Almonte site: http://www.almonte.com/
   Business site: http://www.federalweb.com

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to