mirror of
https://github.com/h5bp/html5-boilerplate.git
synced 2026-04-25 03:05:28 -04:00
92 lines
3.5 KiB
Markdown
92 lines
3.5 KiB
Markdown
# [HTML5 Boilerplate](https://html5boilerplate.com/)
|
|
|
|
[](https://travis-ci.org/h5bp/html5-boilerplate)
|
|
[](https://david-dm.org/h5bp/html5-boilerplate#info=devDependencies)
|
|
|
|
HTML5 Boilerplate is a professional front-end template for building
|
|
fast, robust, and adaptable web apps or sites.
|
|
|
|
This project is the product of years of iterative development and
|
|
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.
|
|
|
|
* Homepage: [https://html5boilerplate.com/](https://html5boilerplate.com/)
|
|
* Source: [https://github.com/h5bp/html5-boilerplate](https://github.com/h5bp/html5-boilerplate)
|
|
* Twitter: [@h5bp](https://twitter.com/h5bp)
|
|
|
|
|
|
## Quick start
|
|
|
|
Choose one of the following options:
|
|
|
|
1. Download the latest stable release from
|
|
[html5boilerplate.com](https://html5boilerplate.com/).
|
|
2. Clone the git repo — `git clone
|
|
https://github.com/h5bp/html5-boilerplate.git` - and checkout the
|
|
[tagged release](https://github.com/h5bp/html5-boilerplate/releases)
|
|
you'd like to use.
|
|
|
|
|
|
## Features
|
|
|
|
* HTML5 ready. Use the new elements with confidence.
|
|
* Designed with progressive enhancement in mind.
|
|
* Includes:
|
|
* [`Normalize.css`](https://necolas.github.com/normalize.css/)
|
|
for CSS normalizations and common bug fixes
|
|
* [`jQuery`](https://jquery.com/) via CDN with [SRI Hash](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) and a local fallback
|
|
* A custom build of [`Modernizr`](https://modernizr.com/) for feature
|
|
detection
|
|
* [`Apache Server Configs`](https://github.com/h5bp/server-configs-apache)
|
|
that, among other, improve the web site's performance and security
|
|
* Placeholder CSS Media Queries.
|
|
* Useful CSS helper classes.
|
|
* Default print styles, performance optimized.
|
|
* An optimized version of the Google Universal Analytics snippet.
|
|
* Protection against any stray `console` statements causing JavaScript
|
|
errors in older browsers.
|
|
* "Delete-key friendly." Easy to strip out parts you don't need.
|
|
* Extensive inline and accompanying documentation.
|
|
|
|
|
|
## Browser support
|
|
|
|
* Chrome *(latest 2)*
|
|
* Edge *(latest 2)*
|
|
* Firefox *(latest 2)*
|
|
* Internet Explorer 9+
|
|
* Opera *(latest 2)*
|
|
* Safari *(latest 2)*
|
|
|
|
*This doesn't mean that HTML5 Boilerplate cannot be used in older browsers,
|
|
just that we'll ensure compatibility with the ones mentioned above.*
|
|
|
|
If you need legacy browser support you
|
|
can use [HTML5 Boilerplate v4](https://github.com/h5bp/html5-boilerplate/tree/v4) (IE 6+, Firefox 3.6+, Safari 4+),
|
|
or [HTML5 Boilerplate v5](https://github.com/h5bp/html5-boilerplate/tree/v5.0.0) (IE8+). They are no longer actively developed.
|
|
|
|
|
|
## Documentation
|
|
|
|
Take a look at the [documentation table of contents](dist/doc/TOC.md).
|
|
This documentation is bundled with the project which makes it
|
|
available for offline reading and provides a useful starting point for
|
|
any documentation you want to write about your project.
|
|
|
|
|
|
## Contributing
|
|
|
|
Hundreds of developers have helped to make the HTML5 Boilerplate. Anyone is welcome to [contribute](.github/CONTRIBUTING.md),
|
|
however, if you decide to get involved, please take a moment to review
|
|
the [guidelines](.github/CONTRIBUTING.md):
|
|
|
|
* [Bug reports](.github/CONTRIBUTING.md#bugs)
|
|
* [Feature requests](.github/CONTRIBUTING.md#features)
|
|
* [Pull requests](.github/CONTRIBUTING.md#pull-requests)
|
|
|
|
|
|
## License
|
|
|
|
The code is available under the [MIT license](LICENSE.txt).
|