HTML5 Boilerplate

A professional front-end template for fast, robust web apps

HTML5 Boilerplate is a professional front-end template for building fast, robust, and adaptable web apps or sites, the product of over a decade of iterative community development. This is my fork of the upstream h5bp/html5-boilerplate, kept in my account as a reference and starting point.

The concept

The value of the boilerplate is that it doesn’t impose a framework or a development philosophy: it gives you a sensible, battle-tested baseline (markup, normalized styles, sane defaults, helpful configs) and leaves the architecture up to you. Notably, the repo you clone is where the project is authored; the thing you actually ship is the contents of its /dist/ folder, much like you don’t clone Vue’s core repo to build a Vue app.

How to use it

For a new site, the recommended path isn’t to clone this repo at all, it’s to scaffold from the published package using the companion generator:

npx create-html5-boilerplate new-site

Cloning the repo directly is mainly for contributing to the boilerplate itself.

Language: JavaScript Source code: github.com/avnit/html5-boilerplate Upstream: github.com/h5bp/html5-boilerplate

Share: X (Twitter) Facebook LinkedIn