Benefits of HTML5 and CSS 3.0
March 7, 2013 Leave a comment
Most of the web programmer is familiar with hypertext markup language and css. These two language are use full to run layout in browser and easy for search and indexing. But the problem is html is not providing video streaming and rich interface like flash and flex. So HTML 5 has been launched to resolve this problem in html without using any flash or Silverlight component. By using of CSS3 web developer /designer can control web designing process and create attractive user interface.
- HTML5
- CSS 3.0
Most of the web programmer is familiar with hypertext markup language and css. These two language are use full to run layout in browser and easy for search and indexing. But the problem is html is not providing video streaming and rich interface like flash and flex. So HTML 5 has been launched to resolve this problem in html without using any flash or Silverlight component. By using of CSS3 web developer /designer can control web designing process and create attractive user interface.
Below are the benefits of HTML5.
- Video streaming
- Newer days in a web application to show rich interface, animation, stream video, play musing are needed to use. So that can be possible via flash, Silverlight flex or any JavaScript plugin. But now with the help of HTML5 it is possible to embed video and audio, high quality drawings, charts and animation and many other rich content without using any plugins and third party programming as the functionality is built into the browser.
- Cleaner markup / Improved Code
- Web developer/designer can make html code to more clean by replacing general div tag with schematic html5 element.
- By HTML5, developer can easily distingue html content as header, footer and menus etc by sing of below specific element.
- <article>, <footer>, <header>, <nav>, <section>
- Form Validation
- HTML5 enables designer to use fancier forms. Even it makes form validation native to HTML, User interface enhancements and reduced need for JavaScript (only needed in browsers that don’t support form types). There will be different type of text inputs, search and different fields for different purpose.
- Offline cache application
- This is really great feature of html5 cache mechanism, where developer can specify whether this page would be set as cache or not, if developer will set page in cache then that page would be stored in cache. So as results when visitor open that page and then internet disconnected then also that page content would be loaded after refresh the page.
- Client side database
- While cookies have been used to track unique user data for years, they have serious disadvantages. The largest flaw is that all of your cookie data is added to every HTTP request header. This can end up having a measurable impact on response time. So a best practice is to reduce cookie size. With HTML5 we can do better by using sessionStorage and localStorage(two different storage in HTML5) in place of cookies. It is not a permanent database, but enables you to store structured data, temporarily.
- Provide drag and drop features.
- Drag and drop is a very common feature. It is when you “grab” an object and drag it to a different location. In HTML5, drag and drop is part of the standard, and any element can be drag gable.
- Canvas and SVG
- This is very emphasized feature of HTML 5 to provide rich user interface. Web developer can draw 2d graphic in canvas on the fly. SVG is language for describing 2D graphics in XML. SVG is used for vector based graphics in web. SVG images are scalable, zoom able and can be printed in any of the high quality resolution.
- Responsive design
- This very good features by html5 as compare to current market’s demand. In newer day’s visitor is open web site from any of the device, i.e. mobile, notebook or laptop. So that is required to web site should be open in any of the browser by readable content.
- Locate the User’s Position
- The HTML5 Geo location API is used to get the geographical position of a user.
- Since this can compromise user privacy, the position is not available unless the user approves it.
Below are the benefits of CSS 3.0
- Border radios
- Developer can set border radios so set any radios border no need to create round corner image.
- Border Images
- This feature will allow developers and designers to take their site to the next level. Developer can be as creative as you want and be able to apply it as a border without extra elements. Quite simple code really:
- Box Shadow
- CSS3 allows developer and designer to set shadow in web pages without creating any image.
- Multiple background
- CSS3 allows developer to set multiple backgrounds in one web page.
- Embed font
- This is really good features, where developer can use any of the font in a web page and embed that font so if font not available on client’s machine then automatically loaded from server.
- Pages load faster:
- In HTML design css3 will perform many things so minimize the usage of images in UI layout so it will increase the page load performance.
Thanks,
Amit Patel
Enjoy Programming




