2
votes
1answer
38 views

Most invariant URI to refer to a HTML5 element from w3.org?

If one is in a situation where you are required to use a URI (simple strings would not do)...how would you refer to the concept of an HTML5 element ("div", "li", etc.)? As a starting point for what ...
2
votes
2answers
295 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
2k 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/" ...