Reputation: 13598
Ok, so I've just installed VS 2012 and found one thing that puzzles me a bit. Validation schemas.
What exactly is DOCTYPE:XHTML5
and XHTML5
, and what's the difference between them? There's nothing like XHTML5 doctype as far as I know.
I've tried to do a little research on Google with no success so far...
Upvotes: 1
Views: 301
Reputation: 25018
XHTML5 refers to version 5 of the XHTML syntax and is one of the validation schemes in VisualStudio.
XHTML5 doctype refers to an XML serialization of HTML5.
For instance, the following is valid HTML5 but not XHTML5 (notice the absent </li>
):
<ul>
<li>one
<li>two
<li>three
</ul>
Upvotes: 1