notas HTML5

by Bruno Braz Gonçalves on 16 Junho, 2007

in html

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 comment… read it below or add one }

Bruno Braz Gonçalves Junho 23, 2007 às 19:08

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]

Leave a Comment

Previous post:

Next post: