HMTL5 has come with a lot of unique good features that its earlier versions missed out.But the trouble with developing a web page with ‘latest available technology’ is the lack of browser’s support for that technology.Older browsers may have some difficulties in interpreting pages built with such technologies.
HTML5 is not a single thing.So, its unable to detect support of browser for it, all at single instance.But you can detect the support for individual features like canvas,geolocation,video,audio etc.
Category: Latest News
The Web Storage idea is to simplify storing of information for the user. I always hated using cookies because of all the domain issues. It was also a mess to check for them and then fall back to other things. Most of all people are paranoid about them and I know a lot of corporate computer users who have all cookies disabled.
Web Storage on the other hand is a simple object in the browser. You can set localStorage.foo to ‘bar’ and when you read out localStorage.foo next time you load the document it will be ‘bar’. That’s how easy it is. You can store 5MB of textual data which could be integers or strings. With JSON.stringify() you can easily store more complex information.
“HTML5 brings a lot of features and power to the Web. You can do so much more [malicious work] with plain HTML5 and JavaScript now than it was ever possible before,” said security researcher Lavakumar Kuppan.
The W3C is “gearing this entire redesign over the idea that we will start executing applications within the browser, and we’ve proven over the years how secure browsers are,” said Kevin Johnson, a penetration tester with security consulting firm Secure Ideas. “We have to go back to understanding the browser is a malicious environment. We lost site of that.”
So What are HTML5 Apps?
With HTML5 defined, what is an HTML5 app?
Essentially, a HTML5 app uses all the shiny, new pieces of the HTML5 draft to create an app-like experience.
This means storing data offline, being functional, and acting like a real app instead of just being content for perusal. You probably use web apps now, like Gmail. Gmail actually has an HTML5 version; if you visit Gmail on an iPhone or iPad, you can check it out.
The HTML 5 audio and video elements are a fantastic way of standardizing audio and video over the internet. This has been a long time coming. With so many operating systems being used to browse the internet it can be hard to decide what format to use. If we encode a video as a Windows Media File (WMV) it will not play on a Mac unless that user downloads a certain player or plug-in. The same can be said for encoding a video as a QuickTime file. It will play on a Mac but not on a Windows operating system unless a player is downloaded. And now we have so many variations of Linux operating systems being used, choosing an audio or video format that will play on all visitors’ computers is a next to impossible task.
The audio and video elements in HTML 5 will make choosing multimedia formats a lot easier. We will probably use the OGG format for audio as it is completely open source and patent-free. This format is very similar to MP3, AAC, and VQF. We will probably use the H.264 format for video. This format has already been adopted by Adobe and so can be used in Flash based players. An example of this is YouTube.com. They can now offer HD video online because they have used the H.264 standard. What is interesting about this is that visitors using Windows, Mac, Unix and Linux can view YouTube.com videos without having to download a new player. All that is needed is the Flash plug-in, which is on most internet browsing computers. With the HTML 5 video tag we will no longer have to depend on Adobe Flash Media player to play H.264 video as a cross platform solution.
The new HTML standard includes APIs that allow advanced media playback, document editing the ability to draw on a 2D canvas web messaging, functions for embedding video, audio, graphics, client-side data storage, and interactive documents.
Although both standards provide users with the capacity to insert richer content into their texts, the two APIs use different methods to accomplish this provision. XHTML 2.0 provides the ability to define an element in relation to its context, while HTML 5 uses a simpler method, by listing classes that describe particular elements, such as copyright, error, example and note.
HTML5 means different things to different people. To most web developers, it’s an incremental evolution of HTML, so it’s less exciting than periphery technologies such as SVG, canvas, standardized audio/video, geolocation, and so on.
Many of your clients and possibly your boss will have a different opinion. To them, HTML5 is the white-hot technology they saw mentioned in the business press; it’s in the iPad so it must be cool. So develop a few HTML5 pages now: you’ll become a guru, be the envy of your peers, and will keep ahead of the game!
The latest versions of all browsers support HTML5. HTML 5 video provides HTTP video streaming without buffering – there is no download needed – progressive or otherwise. This also means that you can jump around/click on any part of the video and it will immediately play from that point. In addition, as there is no download – you can distribute High Definition video files, which are quite large (watch your bandwidth quotas though!)
The revisions in HTML5 are broad and deep – Canvas, SVG, CSS3 and multi-touch gestures will change fundamentally how the Web is visualized, displayed and interacted with . The
HTML 5 features which are useful right now include:
* Web Workers: Certain web applications use heavy scripts to perform functions. Web Workers use separate background threads for processing and it does not effect the performance of a web page.
* Video: You can embed video without third-party proprietary plug-ins or codec. Video becomes as easy as embedding an image.
* Canvas: This feature allows a web developer to render graphics on the fly. As with video, there is no need for a plug in.
* Application caches: Web pages will start storing more and more information locally on the visitor’s computer. It works like cookies, but where cookies are small, the new feature allows for much larger files. Google Gears is an excellent example of this in action.
* Geolocation: Best known for use on mobile devices, geolocation is coming with HTML5.