Posted By

leobetosouza on 08/24/11


Tagged

html xhtml xml namespace


Versions (?)

XHTML tag with namespaces for Google, Facebook and WAI-ARIA


 / Published in: XHTML
 

Namespaces for enable browsers redering stuff for facebook's fbml, Google+1 and WAI-ARIA attributes in XHTML served as application/xml+html.

  1. <html class="no-js" xml:lang="pt-br" lang="pt-br" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:g="http://base.google.com/ns/1.0" xmlns:aaa="http://www.w3.org/2005/07/aaa">
  2.  
  3. </html>

Report this snippet  

You need to login to post a comment.