

Dear reader, as you all must be aware that ADMEC Multimedia Institute team has written some of the best articles on graphic designing, web designing, and multimedia. So, we are contributing a bit more by posting one more article on today's burning topic i.e. HTML5. HTML 5 introduces and enhances a wide range of features including form controls, APIs, multimedia, structure, and semantics to give authors more flexibility and interoperability, and enable more interactive and exciting websites and applications.
HTML 5, which was commenced in 2004, is currently being carried out in a joint effort between the W3C HTML WG and the WHATWG. The specification is still in progress and quite a long way from completion. So, it is might possible that any feature discussed in this article may change in the future. This article is intended to provide a brief introduction to some of the major features as they are in the current draft.
HTML has been in continuous evolvement since it was introduced in the early 1990s. Some features were introduced in specifications; others were introduced in software releases.
HTML4 was recommended by W3C in 1997. While it continues to serve as a rough guide to many of the core features of HTML, it does not provide enough information to build implementations that interoperate with each other and, more importantly, with a critical mass of redistribute content.
The same goes for XHTML1, which defines an XML serialization for HTML4, and DOM Level 2 HTML, which defines JavaScript APIs for both HTML and XHTML.
This is the next advancement of HTML, or Hyper Text Markup Language, which forms the backbone of almost every site on the Internet. HTML4, the last major iteration of the language, debuted in 1997 and has been subsequently poked and prodded so that it can handle the demands of the modern Web.
There are some points to be noticed:
Some of the most interesting new features in HTML5 are below:
Here is the W3c Link for new tags in HTML5 –
http://www.w3schools.com/html5/html5_reference.asp
One of new features is the canvas element. HTML5 canvas gives you an easy and powerful way to draw graphics using JavaScript. For each canvas element you can use a "context", into which you can issue JavaScript commands to draw anything you want. Browsers can implement multiple canvas contexts and the different APIs provide the drawing functionality.
Most of the major browsers include the 2D canvas context capabilities - Opera, Firefox, Konqueror and Safari. Opera the browser is quite advanced in what it can do with the element, even allowing users to save canvas demos as Opera widgets.
Create a Canvas Element
Constructing a canvas context on your page is as simple as adding the <convas> element to your HTML document like so:
<id="myCanvas" width="300" height="150"></convas>
Draw with JavaScript
The canvas element has no drawing abilities of its own. All drawing must be done inside a JavaScript:
<script type="text/javascript">
var c=document.getElementById("myCanvas");
var cxt=c.getContext("2d");
cxt.fillStyle="#FF0000";
cxt.fillRect(0,0,150,75);
</script>
The markup for new added tags could look like the following:
<body>
<header>...</header>
<nav>...</nav>
<article>
<section>
...
</section>
</article>
<aside>...</aside>
<footer>...</footer>
</body
It represents the header of a section. Headers may contain more than just the section's heading—for example it would be reasonable for the header to include sub headings, version history information or bylines.
<header>
<h1>a preview of html5<h1/>
The footer element represents the footer for the section it applies to. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.
<footer>© 2007 Example Inc.</footer>
© 2007 Example Inc.
The nav element represents a section of navigation links. It is suitable for either site navigation or a table of contents.
<nav>
<ul>
<li><a href-"/">home</a></li>
<li><a href-"/">home</a></li>
<li><a href-"/">product</a></li>
<li><a href-"/"services</a></li>
</ul>
</nav>
The aside element is for content that is tangentially related to the content around it, and is typically useful for marking up sidebars.
<aside>
<h1>Archives</h1>
<ul>
<li><a href="/2007/09/">September 2007</a></li>
<li><a href="/2007/08/">August 2007</a></li>
<li><a href="/2007/07/">July 2007</a></li>
</ul>
</aside >
The section element represents a generic section of a document or application, such as a chapter, for example.
<section>
<h1>Chapter 1: The ADMEC Multimedia Institute</h1>
<p>This institute is the one of the pioneer institutes in Delhi, India.
It has highly professional training staff for various courses
Including digital media and programming courses.
Apart from these qualities institute provides flexible timings for early to bird to late owls.
</p><section>
</section>
In recent years, video and audio on the web has become more and more viable and sites like YouTube, Viddler, Revver, MySpace, and dozens of others are making it easy for anyone to publish video and audio.
The latest version of Opera supports the HTML5 video and audio elements. But how do you use them? How do we get a video to play in HTML? First you need an actual video in the right format. Opera currently supports Ogg/WebM, which is also supported by Firefox and Chrome.
If you have a video that you want to play but it's not in Ogg/WebM, you need to convert it. You can use Miro or another program of choice to do this.
So now you have a video lying around on your server (or your local disk), and you want to play it in HTML. Use the following markup:
<video src="video.ogv" controls>
video not supported
</video>
The controls attribute instructs the browser to provide its own controls. If you want to write your own controls with JavaScript, you just leave out the controls attribute.
The text "video not supported" will be shown if the browser doesn't support the video element; you could replace this with a link to the video file itself.
Depending on how your server is configured, the video might or might not actually play. Current Opera requires that your video file is served as video/ogg (or audio/ogg, or application/ogg, or audio/wav...) for it to play. So if it doesn't play, your server might not know about the ogv file extension and serve the video as text/plain, which Opera refuses to play. Here's how to fix this for Apache servers; add the following lines to your .htaccess file:
AddType video/ogg .ogv
AddType audio/ogg .oga
The audio element works much the same as the video element, except it doesn't show any video, and some features that only makes sense for videos are missing.
<audio src="audio.oga" controls>
audio not supported
</audio>
You can also create video and audio elements with script. For a video to render anything, you also need to insert it in the document. An audio element doesn't need to be in the document to play sound, but it does if you want to show the browser's controls.
There are number of advantages HTML5 Has which the previous version didn't have, they are
With HTML5 you can stream audio and video without no need of third party plug-in such as flash. You can construct player controls that are fully programmable with JavaScript.
In HTML5 we have new structural elements instead of traditional div tags to create page template, the final result will be a cleaner and more organized code.
HTML5 allows storing data locally from client side. The data can be accessed to support the web application and it can even be accessed when the client is disconnected for a short period of time. There are methodologies for storing data: session storage, local storage and database storage.
HTML5 introduces new elements and features that allow developers to improve interoperability, handling elements in a precise way saving time and costs.
HTML5 could be the solution to faster applications that will be accessible universally across all mobile phones.
New form types and elements will help you a lot certify that the information entered online is completely accurate. There won't be any need to run additional scripts for checking validation. This speed up the loading time and the user experience will be enhanced.
<!doctype html>
Old ways:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
or
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<meta charset="UTF-8" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
HTML5 has several goals which differentiate it from HTML4.01. Some of the differences, so far, are to be expected.
HTML5 includes several new structural elements that help describe parts of the document, Some of the main structural elements that are being used in HTML 5 are:
<header>
<nav>
<section>
<article>
<aside>
<footer>
Although it seems like "positions" in a document, and very frequently will be used in that way, but they really are about grouping and not positioning. You might have 3 in a page, with each having its own and for instance. (Note that these elements – like classes – can be used more than once on a page).
But to keep it easy, here's a simple way to code a very basic document that contains a top header, a menu for navigation, a content section that contains a couple of articles, a sidebar, and a footer in HTML5.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Admec Multimedia Institute</title>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<style>header, footer, section, aside, nav, article {display: block;}</style>
</head>
<body>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</nav>
<header>
<h1><a href="#">Multimedia Institute</a></h1>
<h2>A tag line might go here</h2>
</header>
<section>
<article>
<h3><a href="#">First Article Title</a></h3>
<img src="images/flower.jpg" alt="flower">
<p>We have successfully running center in Delhi which is located in North Delhi at Rohini. We provide experienced faculty, hightech labs, latest computer applications, and a training ground for our students to practice their skills and creativity in the areas of Design and Media. The Institute is established by the Professionals and for the Professionals.</p>
</article>
<article>
<h3><a href="#">Second Article Title</a></h3>
<img src="images/tree.jpg" alt="tree">
<p>Students not only get speculative curriculum but they also get thorough practical training.</p>
</article>
</section>
<aside>
<h4>Connect With Us</h4>
<ul>
<li><a href="#">Twitter</a></li>
<li><a href="#">Facebook</a></li>
</ul>
</aside>
<footer>
<p>All rights reserved.</p>
</footer>
</body></html>
Unlike previous versions of HTML and XHTML, which are defined in terms of their syntax, HTML 5 is being defined in terms of the Document Object Model (DOM)—the tree representation used internally by browsers to represent the document. The DOM tree could look something like this:
The advantage of defining HTML 5 in terms of the DOM is that the language itself can be defined independently of the syntax. There are primarily two syntaxes that can be used to represent HTML documents: the HTML serialization (known as HTML 5) and the XML serialization (known as XHTML 5).
HTML5 is not yet an official standard, and no browsers have full HTML5 support. But all major browsers (Safari, Chrome, Firefox, Opera, Internet Explorer) continue to add new HTML5 features to their latest versions.
Work on HTML 5 is rapidly progressing, yet it is still expected to continue for several years. Due to the requirement to produce test cases and achieve interoperable implementations, current estimates have work finishing in around ten to fifteen years. During this process, feedback from a wide range of people including, among others, web designers and developers, CMS and authoring tool vendors and browser vendors is vital to ensure its success. Everyone is not only welcome, but actively encouraged to contribute feedback on HTML 5.
This specification defines the 5th major revision of the core language of the World Wide Web: the Hypertext Markup Language (HTML). In this version, new features are introduced to help Web application authors, new elements are introduced based on research into prevailing authoring practices, and special attention has been given to define clear conformance criteria for user agents in an effort to improve interoperability.
In adding together to this HTML5, the APIs (Application Programming Interfaces) require to the outlined as they have also been outlined by HTML5. It include some notable features like browser history management, canvas element for immediate mode 2D drawing, drag and drop, MIME type and protocol handler registration, timed media playback, Micro data, offline storage database, document editing, cross-document messaging and moreover.
The principal purpose of these APIs is to make easy web application creation. Notice the third API enables offline web apps. This is excellent news for users and programmers alike because it enables the use of rich, internet-driven applications in an offline environment.
I hope you will definitely love this article, we will keep publishing / adding more such articles, if you have any doubts/query or would like to give any such suggestion please feel free to contact us at below mentioned numbers.
This article is published by ADMEC MULTIMEDIA INSTITUTE, for more information (if you want to learn or to request more info) please contact to: 99 1178 2350, 011-3130 5055, 011-3203 5055.

If you are a web designer than you must would have heard about jQuery...

XML (extensible markup language) technology with the trend of modernization,...

This article expresses purely my views on Adobe Flex, its history...

XML (extensible markup language) technology with the trend of modernization,...

To have an identity over internet is as important as to have money in your wallet...

The future of any nation depends upon the youth
of that country. And when...

Internet is the tool of modern era that has not only given a speed to life of people...

Non-linear editing for films
and television post production is a modern editing method...

This article expresses purely my views on Adobe Flex, its history...

All colours in our visual range are made up of a combination of the three primary colours...