So as an example, we have this head taken from Facebook's open graph protocol
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="http://www.facebook.com/2008/fbml">
which would be fine with an xhtml doc type. But what about HTML 5? I have searched for answers, including previous stackoverflow questions and came up short. I know that the xmlns attritbute is allowed in HTML5 if its value is exactly "http://www.w3.org/1999/xhtml". But are attributes with prefixes in the format of xmlns:ex allowed under HTML5? And if they are, is the xmlns attribute necessary when using them? I know that the attribute is not necessary if you have no other attributes that use it. Here is practically my same question but the answer doesn't seem to answer the question. And another question asks about HTML5, facebook, and xmlns. There is only one comment that mentions:
Only the xmlns="w3.org/1999/xhtml"; attribute is allowed on . >xmlns:fb="facebook.com/2008/fbml"; is invalid per HTML5. – hsivonen Jul 6 '09 at 12:05
So is that true? You can't use Facebook Open Graph with HTML5?!