Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A professional front-end template for building fast, robust, and adaptable web apps or sites.
JavaScript CSS HTML
Latest commit aa9bcbe @necolas necolas v4.1.0
Failed to load latest commit information.
css Update to Normalize.css v1.1.0.
doc Minor amend, closing a missing bracket.
img git ignore files do not need to ignore ignoring themselves
js Update to jQuery 1.9.0
.gitignore Clean up .gitignore
.htaccess Add note about `AddOutputFilterByType` in Apache < v2.3.7
404.html Minor HTML indentation change v4.1.0 Improve copy in `` Add MIT license Add a `` file
apple-touch-icon-114x114-precomposed.png Update placeholder icons
apple-touch-icon-144x144-precomposed.png Update placeholder icons
apple-touch-icon-57x57-precomposed.png Update placeholder icons
apple-touch-icon-precomposed.png Update placeholder icons
apple-touch-icon.png Update placeholder icons
crossdomain.xml Remove superfluous code comments
favicon.ico HiDPI (32x32px) favicon.ico
humans.txt Mention Normalize.css in humans.txt
index.html Update to jQuery 1.9.0
robots.txt Remove superfluous code comments

HTML5 Boilerplate

HTML5 Boilerplate is a professional front-end template for building fast, robust, and adaptable web apps or sites.

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

Choose one of the following options:

  1. Download the latest stable release from or a custom build from Initializr.
  2. Clone the git repo — git clone - and checkout the tagged release you'd like to use.


  • HTML5 ready. Use the new elements with confidence.
  • Cross-browser compatible (Chrome, Opera, Safari, Firefox 3.6+, IE6+).
  • Designed with progressive enhancement in mind.
  • Includes Normalize.css for CSS normalizations and common bug fixes.
  • The latest jQuery via CDN, with a local fallback.
  • The latest Modernizr build for feature detection.
  • IE-specific classes for easier cross-browser control.
  • Placeholder CSS Media Queries.
  • Useful CSS helpers.
  • Default print CSS, performance optimized.
  • Protection against any stray console.log causing JavaScript errors in IE6/7.
  • An optimized Google Analytics snippet.
  • Apache server caching, compression, and other configuration defaults for Grade-A performance.
  • Cross-domain Ajax and Flash.
  • "Delete-key friendly." Easy to strip out parts you don't need.
  • Extensive inline and accompanying documentation.


Take a look at the documentation table of contents. This documentation is bundled with the project, which makes it readily available for offline reading and provides a useful starting point for any documentation you want to write about your project.


Anyone and everyone is welcome to contribute. Hundreds of developers have helped make the HTML5 Boilerplate what it is today.

Something went wrong with that request. Please try again.