¢WHATWG was working
with web forms and applications, and W3C was working with XHTML 2.0.
¢In 2006, they decided
to cooperate and create a new version of HTML.
¢Some rules for HTML5
were established:
New
features should be based on HTML, CSS, DOM, and JavaScript
Reduce
the need for external plugins (like Flash)
Better
error handling
More
markup to replace scripting
HTML5
should be device independent
The
development process should be visible to the public
The HTML5 <!DOCTYPE>
¢DOCTYPEs from earlier
versions of HTML were longer because the HTML language was SGML-based and
therefore required a reference to a DTD (Document Type
Definition). HTML5 is not based on SGML, and therefore does not
require a reference to a DTD.
¢In HTML5
there is only one <!doctype> declaration, and it is very simple:
<!DOCTYPE html>
0 comments:
Post a Comment