Knowledge: What Is HTML5
As we all know, HTML5 is the fifth revision of the HTML standard(created in 1990 and standardized as HTML4 as of 1997) and, as of December 2012, is a W3C Candidate Recommendation, to subsume HTML 4, XHTML 1 and DOM Level 2 HTML. The term represents two different concepts:
- A new version of the language HTML, with new elements, attributes, and behaviors;
- A larger set of technologies that allows more diverse and powerful Web sites and applications. This set is sometimes called HTML5 & friends and often shortened to just HTML5. The core aims have been to improve the HTML language with support for the latest multimedia while keeping it easily readable by people and consistently understood by web browers for computers and mobile devices such as iPhone, iPad, Android tablets and phones, Windows mobile phones, etc.
1. What's great about HTML5?
When Steve Jobs refused to allow Flash on iOS devices, he argued that HTML5 could do everything Flash did. He wasn't being entirely right - the reality distortion field was strong that day - but ultimately Apple won and Adobe didn't; HTML5, not Flash, is the technology that's transforming the web.
HTML5 has been designed to deliver almost everything you'd want to do online without requiring additional software such as browser plugins. It does everything from animation to apps, music to movies, and can also be used to build incredibly complicated applications that run in your browser. It's cross-platform, which means it doesn't care whether you're using a tablet or a smartphone, a notebook, netbook or ultrabook or a Smart TV: if your browser supports HTML5, it should work flawlessly.
2. What tools are needed to create HTML5 websites?
Some would say that you don't need any tools - you can write HTML5 code with a biro and a bit of paper - but others prefer tools such as Adobe's Dreamweaver, which gained an HTML5 pack in 2010. Adobe is also readying Edge, a dedicated HTML5 animation tool that promises to make it easy to create Flash-style animation. As for HTML5 animation, HTML5 Slideshow Maker can also help, which provides HTML5 templates for creating animated HTML5 slideshows with automatically embedding code and insert to your HTML5 websites.
3. Browser support for HTML5
The latest versions of Apple Safari, Google Chrome, Mozilla Firefox, and Opera all support many HTML5 features and Internet Explorer 9.0 also have support for some HTML5 functionality.
The mobile web browsers that come pre-installed on iPhones, iPads, and Android phones also have excellent support for HTML5.
4. HTML5 - new features
Some great features introduced in HTML5:
- New Semantic Elements: These are like <article>, <input>, <output>, <details>, <section>, and more...
- Forms 2.0: Improvements to HTML web forms where new attributes have been introduced for <input> tag.
- Audio & Video: You can embed audio or video on your web pages without resorting to third-party plugins.
- WebSocket : A a next-generation bidirectional communication technology for web applications.
- Server-Sent Events: HTML5 introduces events which flow from web server to the web browsers: Server -Sent Events (SSE).
- Drag and drop: Drag and drop the items from one location to another location on a the same webpage.
- Persistent Local Storage: To achieve without resorting to third-party plugins.
- Geolocation: Now visitors can choose to share their physical location with your web application.
- Microdata: This lets you create your own vocabularies beyond HTML5 and extend your web pages with custom semantics.