Estive a ler o [1] para uma visão das alterações de estrutura, elementos e atributos novos, alterados ou removidos, etc, entre as especificações 4 e 5 do HTML.
Algumas notas:
elementos block level
HTML5 has defined more strict content models for elements such as div and li. These elements can now contain either “block level” or “inline level” content, but not both.
elementos novos
…the input element’s type attribute can now have the following new values which enable a bunch of new native controls people can use…
atributos novos
A new autofocus attribute can be specified on the input (except when the type attribute is hidden), select, textarea and button elements. It provides a declarative way to focus a form control during page load.
The new form attribute for input, output, select, textarea, button and fieldset elements allows for controls to be associated with more than a single form.
The new required attribute…
You can now disable an entire fieldset by using the disabled attribute on it.
You can now disable an entire fieldset by using the disabled attribute on it.
elementos removidos
applet has been obsoleted in favor of object.
center
font
frame
frameset
noframes
noscript (only dropped in XHTML5)
u
DOM
As HTMLDocument e HTMLElement ganharam o getElementsByClassName()
Leituras
- [1] HTML5 differences from HTML4, Editor’s draft 15 June 2007 (http://dev.w3.org/cvsweb/~checkout~/html5/html4-differences/Overview.html)
- [2] HTML 5, W3C Editor’s Draft 15 June 2007 (http://dev.w3.org/cvsweb/~checkout~/html5/spec/Overview.html)
{ 1 comment… read it below or add one }
Links relacionados:
HTML 5 Versus XHTML 2 [ http://xhtml.com/en/future/x-html-5-versus-xhtml-2/]
HTML5 and the future of @profile [ http://semwebdev.keithalexander.co.uk/blog/posts/html5-profile]