Introduction to HTML 5
Before introducing about html5 I would like to explain that what is HTML. Then we will discuss that what need of HTML and why use html5 be is.
HTML is a language that provides a mean to create structured documents by denoting structure semantics for text such as heading, paragraph, list, links etc. We will use html to design web page or we will use it to put static contents which is displayed by browser. With the help of html we will display stylish paragraph, images, graph etc in very attractive mode. Html is supported by all browsers. There is so many versions of html are introduced in market. Here we will discuss about latest version of html which is HTML5.
HTML5 is being developed as the next major version of HTML. It is a language for structuring and presenting content for the World Wide Web, a core technology of the internet. Currently HTML5 is under development. It core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans. HTML5 introduced a number of new elements and attributes. Here we will discuss some of most important.
The canvas element can be used for rendering graphs, game graphics or other visual images on the fly. All done without having to rely on plug-in.
Think of it as hyper-threading for web browser. Separate background threads are used to do processing without affecting the performance of a web page. This can be very useful for web application which relies on heavy script to perform functions.
You can embed video without having to rely on third property plug-in or codec’s.
Offline web applications
The offline web applications enable users to continue interacting with web applications and documents even when network connection is unavailable.
This API defines location information with high level interface (GPS) associated with the device hosting the API. Sources of location information includes Global Positioning System (GPS) and network signals such as IP address, RFID, Wi-Fi and Bluetooth MAC addresses, and GSM/CDMA cell IDs.
Apart from these important features HTML5 introduced several features which is Cross-document messaging, WYSIWYG editable elements, audio element etc.
Some major browser which support HTML5
1. Internet Explorer.
2. Google Chrome.
3. Mozila Firefox.
Advantages of HTML5
1. Improved semantics.
2. Improved code.
3. Better consistency.
4. Better exception handling.
5. Reduced of need for plug-in.
Disadvantages of HTML5
1. Security concern.
2. Limited development tools.
3. Need of browser compatibility.
4. Official standard.