What are all the new HTML document types in VS 2012 RC?

html, visual-studio, visual-studio-2012

Solution

Regarding the HTML5 vs. DOCTYPE:HTML5 question, here's what I've observed while using VS 2012 RTM:

The DOCTYPE:{value} option tells VS to examine your page and attempt to figure out from the DOCTYPE and html tags what level of validation to apply. For example, if I create a page that begins as follows:

<!DOCTYPE html>
<html>
...

then the DOCTYPE:{value} option becomes DOCTYPE: HTML5. If, however, my page starts like this:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
...

then it becomes DOCTYPE: XHTML5.

The options that don't have the DOCTYPE: prefix force VS to use the selected level of validation regardless of what the structure/content of your page might suggest.

Problem

I just installed VS 2012 RC and in the HTML toolbar dropdown it has a bunch of new options: - DOCTYPE: HTML5 - HTML5 - XHTML5 What's the difference between the two HTML5 options? I thought the recommendation for HTML5 was not to specify a DOCTYPE, so the first option is kinda like "would you like some caffeine with that decaf?" I was pretty sure that W3C abandoned XHTML in favor of evolving HTML, so what's this new XHTML5 option? Update: seems like Wikipedia had an answer for that. Thanks in advance! Update: posted a new question for the unanswered bits. PS: I am not looking for an explanation of the purpose of the dropdown, but rather an explanation of what the difference is between choosing "DOCTYPE:HTML5" and "HTML5".

Original source