Thursday, January 12, 2012

Doctype For HTML5 and Facebook Open Graph Protocol (OGP)

Are you searching for solution for W3C validation by using OGP and HTML5? See below for solution:-

If you want to implement HTML 5 to your site as well as want to use Microdata and Facebook's Open Graph Proctocol (OGP) then there is a solution for it so that you can get W3C validation to your site. You need to define your Doctype at the start of your HTML page and XMLNS at the starting of the page in HTML tag.


<!DOCTYPE html>
<head>


</head>
<body>


</body>
</html>