Home > Article > Web Front-end > Some differences and notes between html, xhtml and html5_html/css_WEB-ITnose
01, the tag specifications are more strict. W3C has always respected XHTML, a strict type of syntax, but after XHTML was upgraded from 1.0 to 1.1 Died in infancy. The main difference between html and xhtml:
XHTML elements must be nested correctly.
xxxx
xxxx
Error: MUKI space
How to verify whether your HTML or XHTML is legal?
1:
2:
You can also directly change the html to xhtml ending, and then open it with the firefox browser; 🎜>HTML4is more relaxed, no longer based on SGML, and adds a lot of
semantic HTMLtags, as well as audio, video, document declaration has become simpler, and string encoding has been added meta, delete some html tags (font, frameset) from the 1990s, etc....
Broadly speaking,
HTML5has brought us The higher version of CSS, that is, CSS2.0 has been upgraded to CSS3.0, and Javascript also provides more API support (canvas, postMessage, notify, worker), making the WEB more beautiful; 《HTML 4.01 Reference Manual》 《HTML5》