This is a Wikepedia article about HTML5
HTML5 is going to Rock....
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 () and inline () elements, for example (website navigation block) and (usually referring to bottom of web page or to last lines of html code). Other elements provide new functionality through a standardized interface, such as the multimedia elements
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, , which enables standards-compliant rendering in all browsers that use "DOCTYPE sniffing".
HTML5 also incorporates Web Forms 2.0, another WHATWG specification.
New APIs
In addition to specifying markup, HTML5 specifies scripting application programming interfaces (APIs).[13] 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[14]
- Timed media playback
- Offline storage database (offline web applications). See Web Storage[15]
- Document editing
- Drag-and-drop
- Cross-document messaging[16]
- Browser history management
- MIME type and protocol handler registration.
- Microdata
- Not all of the above technologies are included in the W3C HTML5 specification, though they are in the WHATWG HTML specification.[17] Some related technologies, which are not part of either the W3C HTML5 or the WHATWG HTML specification, are
- Geolocation
- Web SQL Database, a local SQL Database.[18]
- The Indexed Database API, a indexed hierarchical key-value store (formerly WebSimpleDB).[19]
- The W3C publishes specifications for these separately.
No comments:
Post a Comment