/html5-boilerplate

Starting HTML/CSS template. So much goodness baked in by default

Primary LanguageJavaScript

HTML5 Boilerplate is a professional front-end template that helps you build fast, robust, adaptable, and future-proof websites. Spend more time developing and less time reinventing the wheel.

This project is the product of many years of iterative development and combined community knowledge. It does not impose a specific development philosophy or framework, so you're free to architect your code in the way that you want.

Quick start

Clone the git repo - git clone git://github.com/h5bp/html5-boilerplate.git - or download it

Features

  • HTML5 ready. Use the new elements with confidence.
  • Cross-browser compatible (Chrome, Opera, Safari, Firefox 3.6+, IE6+).
  • "Mobile first"/"Responsive design"-capable out of the box.
  • Designed with progressive enhancement in mind.
  • CSS normalizations and common bug fixes.
  • IE-specific classes for easier cross-browser control.
  • A default print stylesheet, performance optimized.
  • Mobile browser optimizations.
  • Protection against any stray console.log causing JavaScript errors in IE6/7.
  • The latest jQuery via CDN, with a local fallback.
  • A custom Modernizr build (including Respond.js) for feature detection and a polyfill for CSS Media Queries.
  • An optimized Google Analytics snippet.
  • Apache server caching, compression, and other configuration defaults for Grade-A performance.
  • A build script to automate the minification and concatenation of your HTML/CSS/JS.
  • Cross-domain Ajax and Flash.
  • "Delete-key friendly." Easy to strip out parts you don't need.
  • Extensive inline and accompanying documentation.

Contributing

Anyone and everyone is welcome to contribute. Hundreds of developers have helped make the HTML5 Boilerplate what it is today. There are several ways you can help out:

  1. Raising issues on GitHub.
  2. Sending pull requests for bug fixes or new features and improvements.
  3. Making the docs better.

Project information

License

Major components:

  • jQuery: MIT/GPL license
  • Modernizr: MIT/BSD license
  • Respond.js: MIT/GPL license
  • Normalize.css: Public Domain

Everything else:

The Unlicense (aka: public domain)