4Jan/100
HTML5
Differences from HTML 4.01/XHTML 1.x
The following is a cursory list of differences and some specific examples.
- New parsing rules oriented towards flexible parsing and compatibility; not based on SGML
- Ability to use inline SVG and MathML in
text/html - New elements –
section,article,footer,audio,video,progress,nav,meter,time,aside,canvas - New types of form controls – dates and times,
email,url,search - New attributes –
ping(onaandarea),charset(onmeta),async(onscript) - Global attributes (that can be applied for every element) –
id,tabindex,hidden,data-*(custom data attributes) - Forms will get support for PUT and DELETE methods too instead of just GET and POST (see Representational State Transfer for use cases)
- Deprecated elements dropped –
center,font,strike,frameset
via http://en.wikipedia.org/wiki/Html5