2
votes
2answers
256 views

Serve up syntactic XHTML5 using the text/html MIME type?

I have a site currently written with HTML5 tags. I'd like to be able to parse the site as XML, with support for namespaces, etc, to facilitate programmatic extraction of data. Currently I have ...
5
votes
2answers
2k views

HTML5 `html` `xmlns` attribute

Is xmlns appropriate in HTML5? <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> ... </html> Also, which is preferred, <!DOCTYPE html> or <!doctype html>?
3
votes
4answers
1k views

HTML5 and facebook Graph API

In order to use the "og:" meta tag of Facebook Graph, I need to add the following to the tag: xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" ...