3 ms·
HTML5 is a mix of XHTML and HTML4, but with new features. Its syntax ressemble more XHTML than HTML and as thus it is more XML compliant, although you can ignor
by totony 12y ago
HTML5 is a mix of XHTML and HTML4, but with new features. Its syntax ressemble more XHTML than HTML and as thus it is more XML compliant, although you can ignore strict syntax [0]. HTML5 is both XHTML and HTML4 alike, so it is no surprise that is has taken over the market.
Note that I don't especially like HTTP/2 and believe that a hack like SPDY should not make it to a standard. More time and care should be made to make a central protocol like HTTP (central in that it is used alot).
[0] Source: http://www.techrepublic.com/blog/10-things/10-things-you-should-know-about-html5/ http://www.techrepublic.com/blog/10-things/10-things-you-sho...
>Instead, the HTML5 spec is written so that you can write HTML5 with strict XML syntax and it will work