I will be using Open Graph Meta on my site for sharing with Facebook. I am a bit confused though. For the og tags to work it must have the following: xmlns:og="http://ogp.me/ns#" Correct?
So it comes down to two questions:
- Must I have the xmlns?
- Will it work properly if using HTML5 doctype?
You don’t have to use this xmlns syntax. You can use HTML5’s prefix:
Anyway, this is really just a short hand instead of having the whole namespace in each property.
eg:
is semantically the same as