HTML5

What is HTML5

HTML5 will be the new standard for HTML, XHTML, and the HTML DOM.
The previous version of HTML came in 1999. The web has changed a lot since then.
HTML5 is still a work in progress. However, most modern browsers have some HTML5 support.
***************************************************************
HTML5 is the next generation of HTML.
This tutorial teaches you about the new features in HTML5.

Video on the Web

Until now, there has never been a standard for showing video on a web page.
Today, most videos are shown through a plugin (like flash). However, not all browsers have the same plugins.
HTML5 specifies a standard way to include video, with the video element.

How It Works

To show a video in HTML5, this is all you need:
<video src="movie.ogg" controls="controls">
</video>
The control attribute is for adding play, pause, and volume controls.
It is also always a good idea to include the width and height attributes.
Insert content between the <video> and </video> tags for browsers that do not support the video element:

The example above uses an Ogg file, and will work in Firefox, Opera and Chrome.
To make the video work in Safari, the video file must be of type MPEG4.
The video element allows multiple source elements. Source elements can link to different video files. The browser will use the first recognized format:
.........More Tutorials are Very Coming Soon...........
Leave a Comment

0 comments:

একটি মন্তব্য পোস্ট করুন

Popular Posts

Recent Comments