Search This Blog

Wednesday, 24 November 2010

HTML 5 takes wings

WARNING !!!

So I've heard about HTML 5 at the beginning of the year, but it was way to early to look into it. So as time went by i started forgetting about it, and was only reminded from time to time by the new tags like <audio> and <video>, noticed on different websites.
Today, however, I've had my first run-in with a website that stated:

This message started the alarm in my head that states "go go go go check it out, go go go", so i started looking into it to see what's new:

              HTML5 introduces a number of new elements and attributes that reflect typical usage on modern websites. Some of them are semantic replacements for common uses of generic block (<div>) and inline (<span>) elements, for example <nav> (website navigation block), <footer> (usually referring to bottom of web page or to last lines of HTML code), or <audio> and <video> instead of <object>. Some deprecated elements from HTML 4.01 have been dropped, including purely presentational elements such as <font> and <center>, whose effects are achieved using Cascading Style Sheets. There is also a renewed emphasis on the importance of DOM scripting (e.g., JavaScript) in Web behavior.
The HTML5 syntax is no longer based on SGML despite the similarity of its markup. It has, however, been designed to be backward compatible with common parsing of older versions of HTML. It comes with a new introductory line that looks like an SGML document type declaration, <!doctype html>, which triggers the standards-compliant rendering mode. HTML5 also incorporates Web Forms 2.0, another WHATWG specification.

In addition to specifying markup, HTML5 specifies scripting application programming interfaces (APIs). Existing document object model (DOM) interfaces are extended and de facto features documented. There are also new APIs, such as:
Not all of the above technologies are included in the W3C HTML5 specification, though they are in the WHATWG HTML specification. Some related technologies, which are not part of either the W3C HTML5 or the WHATWG HTML specification, are
The W3C publishes specifications for these separately.

An HTML5 (text/html) browser will be flexible in handling incorrect syntax. HTML5 is designed so that old browsers can safely ignore new HTML5 constructs. In contrast to HTML 4.01, the HTML5 specification gives detailed rules for lexing and parsing, with the intent that different compliant browsers will produce the same result in the case of incorrect syntax. Although HTML5 now defines a consistent behavior for "tag soup" documents, those documents are not regarded as conforming to the HTML5 standard.


TLDR: It's AWESOME! :)

2 comments:

Zeus said...

Copy + pasted from Wikipedia. TLDR: I'm disappointed with u young padawan. :-(

Vlad Filip said...

hehe :) well, decat sa postez un link, mai bine pun text. Sa fim seriosi "would you click my link"?

Post a Comment