HTML5 Boilerplate hits 2.0

HTML5 Boilerplate

HTML5 Boilerplate, now with a streamlined reset and improved script aspects

Every website is different, but most start with a similar foundation of basic files. HTML5 Boilerplate is one of several projects that aims to more rapidly kickstart a project and also, according to its creators, "pools the cumulative knowledge and best practices of many web developers, so that everyone can avoid making poor development decisions".

Primarily driven by Divya Manian, Paul Irish, Shichuan, Nicolas Gallagher and Mathias Bynens, who provided their thoughts to .net in collective hive-mind fashion, HTML5 Boilerplate has now reached its 2.0 milestone. "1.0 was released in March 2011 and we had many big fixes and additional features we wanted to add — between 1.0 and 2.0, we've committed over 250 changes," they said. "We were also emphatic about making sure H5BP delivers the best performance for all your projects, and the build script is primarily work to that effect."

According to the team, a major change has been "dropping the traditional 'bulldozer' reset in favour of targeted CSS normalisation," which benefits designers due to "the retention of useful browser defaults, a more consistent default experience, bug fixes for desktop and mobile browsers, and better documentation of the CSS code". Elsewhere, the latest release includes a custom build of Modernizr 2.0 that features Yepnope ("load your resources conditionally") and Respond.js ("to enable legacy browsers to support min/max-width media queries, helping H5BP be a good starting point for 'mobile first' development"). Additionally, the 2.0 release has the Chrome Frame prompt on by default for IE6 and offers significant build script improvements.

For the future, the team says there are always bug fixes to do and improvements to be made, and that "standards hardly stay the same, and so HTML5 Boilerplate will head wherever the open web heads to next".

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of six full-time members of staff: Editor Kerrie Hughes, Deputy Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, Digital Arts and Design Editor Ian Dean, and Staff Writer Amelia Bamsey, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.