Do not build from scratch. Now you have a template for HTML5 layout.
The love of HTML5 continues to inspire Paul Irish . First, he presented us with Modernizr , and now he has teamed up with Divya Manian to create an HTML5 template that uses advanced techniques so that you can start using it in your practice.
It is, in essence, a good starting point consisting of HTML and CSS, offering also a folder structure that works. But created taking into account the many years of excellence of professionals in the development of the client side. Take a look at the source code to feel what is inside. And if you think that this is too much, just delete the excess.
Right from the site, here are some of the features that make this template wonderful:
Cross-browser compatibility (yes, including IE6);
Ready for HTML5. It is possible to use new tags, in their entirety;
Optimal caching and compression rules for A-class performance;
The best site settings by default, based on our practice;
Optimization for mobile browsers;
Progressive soft degradation of modern opportunities ... yes, it works;
IE specific classes for maximum control of cross-browser compatibility;
Convenient .no-js and .js classes for feature-based functionality;
Want to write unit tests, but laziness? A full-featured test suite is waiting for you;
Javascript profiling ... in IE6 and IE7? Of course, not a problem;
Configure Console.log so that you do not break anything by mistake;
You will never have the wrong type of document or markup!
Optimized print styles, optimized for performance;
Markup, adaptable for iOS, Android, Opera Mobile, and CSS skeleton;
IE6 pngfix included;
The classes .clearfix and .visuallyhidden for reasonable and friendly styling;
an .htaccess file that allows you to correctly use the features of HTML5 and speeds up page loading;
jQuery hosted on a CDN with local backup for greater reliability;
Think too much? The HTML5 template makes it easy to take away extra features. :)
Several people say that they have already adapted this HTML5 template for themselves, so it's nice to see it working in live projects. He is a good help.