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? 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> ... 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. 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. 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
Archived
This topic is now archived and is closed to further replies.