Questions tagged [html5boilerplate]

A professional HTML5/CSS/JS front-end template that helps you build fast, robust, adaptable, and future-proof websites.

HTML5 Boilerplate is the product of many years of iterative development and combined community knowledge. Spend more time developing and less time reinventing the wheel.

It includes jQuery, Modernizr (for feature testing), Normalize.css (for cross-browser CSS normalization), and an Apache server config (for performance optimizations)...everything you need for a great project starting point.


Resources :


Related tags :

338 questions
550
votes
7 answers

What is the purpose of the HTML "no-js" class?

I notice that in a lot of template engines, in the HTML5 Boilerplate, in various frameworks and in plain php sites there is the no-js class added onto the tag. Why is this done? Is there some sort of default browser behavior that reacts to…
Swader
  • 11,387
  • 14
  • 50
  • 84
98
votes
1 answer

HTML5 Boilerplate and Twitter Bootstrap

I have read various questions answered on Stack about Twitter Bootstrap and HTML5 Boilerplate. I do know the following: Bootstrap and H5BP are not equivalent and are used for different purposes I know what Bootstrap is used for, I use it every day…
DextrousDave
  • 6,603
  • 35
  • 91
  • 134
72
votes
4 answers

AngularJS in HEAD vs BODY

In all of the AngularJS examples, the Angular library is placed in the HEAD tags of the document. I have an existing project that has been built upon the HTML5 Boilerplate layout. This defines that JS libraries should be placed at the very bottom of…
Cadriel
  • 735
  • 1
  • 5
  • 6
44
votes
6 answers

What is the use of the hackers.txt file?

First No I am not asking you to teach me hacking, I am just curious about this file and its content. My journey When I dived into the new HTML5 Boilerplate I came accross the humans.txt. I googled for it and I came at this site…
Ron van der Heijden
  • 14,803
  • 7
  • 58
  • 82
41
votes
5 answers

HTML5 Boilerplate: Meta viewport and width=device-width

I'm building an adaptive/responsive website. Regarding this recent change to the HTML5BP: "mobile/iOS css revisions" I've started using: ... and I have this in my CSS: html { …
mhulse
  • 4,062
  • 6
  • 28
  • 35
34
votes
3 answers

How to properly integrate HTML5 Boilerplate with Twitter Bootstrap?

In my Play 2.0 project I already have Bootstrap integrated (as the less files, Play can compile them in the fly) but now I found Boilerplate and I think it would be a nice idea to make use of it also. After a bit of googling I found…
Piotr Kukielka
  • 3,792
  • 3
  • 32
  • 40
32
votes
1 answer

HTML5 Boilerplate plugins.js

How is one expected to include additional js files in plugins.js? Is the expectation that we just copy and paste the contents of each plugin there? Or is there some method of doing a js include that I should be using? Specifically, I'd like to see…
Matrym
  • 16,643
  • 33
  • 95
  • 140
21
votes
4 answers

JavaScript on the bottom of the page?

I've read that it is better to keep all of your JavaScript files on the bottom of the webpage. The HTML5 Boilerplate template seems to agree: http://html5boilerplate.com/ And seems to be widely used. My question is: first, does this have any real…
user1521604
16
votes
2 answers

How high in the section can you safely put the Google Tag Manager code?

Google Tag Manager instructs developers to: Paste this code [THE TRACKING CODE] as high in the of the page as possible: