What are the contents of the HTML 5?
It turns out that technology adoption need to be a very long time. In seputaran in 2000, as I recall, the adoption of HTML just transitioning to version 4. HTML was all about the layout and formatting. Not anymore.
HTML 5 that are now beginning to be implemented by some grade A browser will bring more than just a feature for page layout and format. Some of them are Canvas and Video.
Canvas
In the past, to be able to provide interaction draw on a web page we should use Java applets or Flash. HTML 5 will provide an additional option: canvas. As the name suggests, canvas is the medium-streak could dicorat directly. No longer need to load special plugin. Just add the javascript and then we can draw directly on web pages. Now you can berimaginasi own, about what people do with canvas. What was previously a monopoly of Flash and Java applets will be a take-over by.
Video and Audio
There will be tags and the HTML 5. So no need to attach the flash to just play the audio. Supported video formats will vary with the browser, most likely codecnya is Ogg Theora (patent free) and H.264. It seems until now codecnya still a controversy.
Local Storage
Remember the Google Gears? Now that storage to be accommodated as a standard browser in HTML 5. Applications can store data in greater numbers than usual without having to implement trick with cookies or Flash. Surely this is good news for web application developers. May enhance the performance of applications using the storage as a local cache. Try to see the details here.
Web Workers
This one also had the chance we enjoy through Google Gears. If javascript is usually that we enjoy on the web sometimes causes our computers to slow down or at least make a browser such as shortness of breath bsia then the web will be a relief worker. One of the features are threading a web worker. Now the javascript can be used to perform several processes at once without having to inhibit the process of UI-related.
Semantics
Well here it is. Create a designer who is often to abuse div and span sebagia nav element, fret no more. There will be a special tag for navigation, section, footer, etc.. Rich semantic tags like this would be more useful than the tags that only have information on the format and layout alone. And for a machine, HTML5 will be more understandable.
Do not stop there, there will also be better support for microformats from now. Support microformats will utilize new tags and attributes that were introduced in HTML 5. About microformats, we can read his progress here.
Your browser is ready for HTML 5? Test it here
Differences from HTML 4.01/XHTML 1.x
The Following is a cursory list of differences and Some specific examples.
New parsing rules oriented Towards flexible parsing and compatibility; not based on SGML
Ability to use inline SVG and MathML in text / html
New elements - section, article, footer, audio, video, progress, nav, meter, time, aside, canvas
New types of form controls - dates and times, email, url, search
New attributes - ping (on a and area), charset (on meta), async (on the script)
Global attributes (That cans be applied for every element) - id, tabindex, hidden, data-* (custom data attributes)
Forms will of get support for PUT and DELETE methods too instead of just GET and POST (see representational state transfer for use cases)
Deprecated elements dropped - center, font, strike, frameset
quoted from www.navinot.com and wikipedia
No comments:
Post a Comment