What are the fundamental differences between HTML and XHTML?

What are their main differences?(I ask because it's online only - and "stricter syntax")
And needless flattery in XHTML, if you know HTML ?

Thank you all in advance!
July 4th 19 at 23:41
2 answers
July 4th 19 at 23:43
The fundamental difference between strict syntax in xhtml. Moreover, on=good xhtml page must begin with the xml Declaration. However, in this case at the slightest syntax error (e.g. unclosed input tag) will result in an error and the page will not be displayed.

Xhtml should not climb. This is a legacy specification. Modern VEB is guided in the direction of html5.
I should add that html5 is essentially just the name of doktayp and not the html version. No plans no html6, html7, etc. Is just the html markup language. Its specification will be developed, will add new capabilities may become obsolete the existing ones. But he will remain html. The same applies to CSS. - Lulu_Zulauf71 commented on July 4th 19 at 23:46
July 4th 19 at 23:45
No. XHTML is not necessary and, moreover, it is necessary to give with the MIME type "application/xhtml+xml". Only then the browser will process the document strictly as XHTML and not as HTML with "bat" layout (e.g. /> in HTML is impossible, so the parser ignores the slash as an error character and pass). In XHTML any error markup will lead to the results XML errors instead of the page.

Find more questions by tags HTML