“HTML5 is the next generation of HTML.”
What is HTML5?
HTML5 will be the new standard for HTML.
HTML 5 is the next major version of HTML. It introduces a bunch of new elements that will make our pages more semantic. This will make it a lot easier for search engines and screenreaders to navigate our pages, and improve the web experience for everyone. In addition, HTML 5 will also include fancy APIs for drawing graphics on screen, storing data offline, dragging and dropping, and a lot more.
“HTML5 is a markup language for structuring and presenting content for the World Wide Web, and is a core technology of the Internet originally proposed by Opera Software. It is the fifth revision of the HTML standard (created in 1990 and standardized as HTML4 as of 1997) and, as of July 2012, is still under development. Its core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). HTML5 is intended to subsume not only HTML 4, but XHTML 1 and DOM Level 2 HTML as well.”
The previous version of HTML, HTML 4.01, came in 1999. The web has changed a lot since then.
HTML5 is still a work in progress. However, the major browsers support many of the new HTML5 elements and APIs.
How Did HTML5 Get Started?
HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG).
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:
- 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
Below is a simple HTML5 document, with the minimum of required tags:
<title>Title of the document</title>
The content of the document……
HTML5 – New Features
Some of the most interesting new features in HTML5:
The <canvas> element for 2D drawing
The <video> and <audio> elements for media playback
Support for local storage
New content-specific elements, like <article>, <footer>, <header>, <nav>, <section>
New form controls, like calendar, date, time, email, url, search
HTML5 offers new elements for better structure:
|<article>||Defines an article|
|<aside>||Defines content aside from the page content|
|<bdi>||Isolates a part of text that might be formatted in a different direction from other text outside it|
|<command>||Defines a command button that a user can invoke|
|<details>||Defines additional details that the user can view or hide|
|<summary>||Defines a visible heading for a <details> element|
|<figure>||Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.|
|<figcaption>||Defines a caption for a <figure> element|
|<footer>||Defines a footer for a document or section|
|<header>||Defines a header for a document or section|
|<hgroup>||Groups a set of <h1> to <h6> elements when a heading has multiple levels|
|<mark>||Defines marked/highlighted text|
|<meter>||Defines a scalar measurement within a known range (a gauge)|
|<nav>||Defines navigation links|
|<progress>||Represents the progress of a task|
|<ruby>||Defines a ruby annotation (for East Asian typography)|
|<rt>||Defines an explanation/pronunciation of characters (for East Asian typography)|
|<rp>||Defines what to show in browsers that do not support ruby annotations|
|<section>||Defines a section in a document|
|<time>||Defines a date/time|
|<wbr>||Defines a possible line-break|
New Media Elements
HTML5 offers new elements for media content:
|<audio>||Defines sound content|
|<video>||Defines a video or movie|
|<source>||Defines multiple media resources for <video> and <audio>|
|Defines a container for an external application or interactive content (a plug-in)|
|<track>||Defines text tracks for <video> and <audio>|
HTML5 Tags [ reference taken from w3schools site]
<h1> – <h6>
Look for sample in my next post – this post is just to make aware of HTML5 technology. Please do leave your valuable comments and suggestions for any change in the content and improvement of the blog.