random1 Posted November 12, 2009 Share Posted November 12, 2009 I'm making the switch to HTML5 on my site and have an issue the line: <html lang="en-au" xml:lang="en-au"> Vlidation Error message: The 'xmlns' attribute for this tag is missing What is the xmlns value need for this? Quote Link to comment https://forums.phpfreaks.com/topic/181215-solved-html-5-and-the-xmlns-attribute/ Share on other sites More sharing options...
trq Posted November 12, 2009 Share Posted November 12, 2009 if your planning on using html5's xml syntax you should use... <!DOCTYPE html> <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml"> ... Otherwise (and recommended) is simply.... <!DOCTYPE html> <html> ... Quote Link to comment https://forums.phpfreaks.com/topic/181215-solved-html-5-and-the-xmlns-attribute/#findComment-956041 Share on other sites More sharing options...
jcombs_31 Posted November 12, 2009 Share Posted November 12, 2009 I thought you could use xhtml syntax regardless. Quote Link to comment https://forums.phpfreaks.com/topic/181215-solved-html-5-and-the-xmlns-attribute/#findComment-956286 Share on other sites More sharing options...
trq Posted November 12, 2009 Share Posted November 12, 2009 You might be right. Syntax. Quote Link to comment https://forums.phpfreaks.com/topic/181215-solved-html-5-and-the-xmlns-attribute/#findComment-956421 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.