WARNING !!! 

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:
- The canvas element for immediate mode 2D drawing. See Canvas 2D API Specification 1.0 specification
- Timed media playback
- Offline storage database (offline web applications). See Web Storage
- Document editing
- Drag-and-drop
- Cross-document messaging
- Browser history management
- MIME type and protocol handler registration.
- Microdata
- Geolocation
- Web SQL Database, a local SQL Database.
- The Indexed Database API, an indexed hierarchical key-value store (formerly WebSimpleDB).
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:
Copy + pasted from Wikipedia. TLDR: I'm disappointed with u young padawan. :-(
hehe :) well, decat sa postez un link, mai bine pun text. Sa fim seriosi "would you click my link"?
Post a Comment