random1 Posted January 18, 2010 Share Posted January 18, 2010 Hey, Among my HTML code I have <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-au" lang="en-au" dir="ltr"> AND <body lang="en-au" dir="ltr"> Do I need to specify lang and dir for for both elements to affect the language and text-dir for the document? Quote Link to comment Share on other sites More sharing options...
haku Posted January 18, 2010 Share Posted January 18, 2010 You only need to re-declare the language if it is changing between elements. So you don't need to re-declare it in your body tag. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.