Got chance to touch HTML5?
HTML5 is very exciting to learn. Isn’t it ?
Wishing you a very happy new year 2016. Writing this very first post of this year.
In my previous post, I explained about the structure of HTML 5 document. Let’s begin with a little intro about HTML 5. While writing this post, I am assuming that the readers are already aware about previous versions of HTML. If you are interested in some historical details about HTML then please check the details here.
HTML 5 is a mark up 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 January 2012 is still under development.
It’s 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.
A basic example of an HTML5 document:
<video width="220" height="180" controls="controls" autoplay="autoplay">
<source src="movie_ds.mp4" type="video/mp4" />
<source src="movie_ds.ogg" type="video/ogg" />
<source src="movie_ds.webm" type="video/webm" />
Your browser does not support the video tag.
Points to be Noted
- This snippet will play the video named “movie_ds”, if the file exists at desired source location.
- Also have a close look at the <!DOCTYPE HTML> this is good feature for web developers. In previous version, we used to specify <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
- New Elements
- New Attributes
- Full CSS3 Support
- Video and Audio
- 2D/3D Graphics
- Local Storage
- Local SQL Database
- Web Applications
What do you think?
If you have any questions or suggestions please feel free to email us or put your thoughts as comments below. We would love to hear from you. If you found this post or article useful then please share along with your friends and help them to learn.