Skip to content

Instantly share code, notes, and snippets.

@stephenplusplus
Forked from passy/h5bp.js
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephenplusplus/bcc16d4350c7395c38d1 to your computer and use it in GitHub Desktop.
Save stephenplusplus/bcc16d4350c7395c38d1 to your computer and use it in GitHub Desktop.
document.write("<!DOCTYPE html>");
document.write("<!--[if lt IE 7]> <html class=\"no-js lt-ie9 lt-ie8 lt-ie7\"> <![endif]-->");
document.write("<!--[if IE 7]> <html class=\"no-js lt-ie9 lt-ie8\"> <![endif]-->");
document.write("<!--[if IE 8]> <html class=\"no-js lt-ie9\"> <![endif]-->");
document.write("<!--[if gt IE 8]><!--> <html class=\"no-js\"> <!--<![endif]-->");
document.write(" <head>");
document.write(" <meta charset=\"utf-8\">");
document.write(" <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">");
document.write(" <title><\/title>");
document.write(" <meta name=\"description\" content=\"\">");
document.write(" <meta name=\"viewport\" content=\"width=device-width\">");
document.write("");
document.write(" <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->");
document.write("");
document.write(" <link rel=\"stylesheet\" href=\"css\/normalize.css\">");
document.write(" <link rel=\"stylesheet\" href=\"css\/main.css\">");
document.write(" <script src=\"js\/vendor\/modernizr-2.6.2.min.js\"><\/script>");
document.write(" <\/head>");
document.write(" <body>");
document.write(" <noscript>plz enalbe teh javascripts<\/noscript>");
document.write(" <!--[if lt IE 7]>");
document.write(" <p class=\"chromeframe\">You are using an <strong>outdated<\/strong> browser. Please <a href=\"http:\/\/browsehappy.com\/\">upgrade your browser<\/a> or <a href=\"http:\/\/www.google.com\/chromeframe\/?redirect=true\">activate Google Chrome Frame<\/a> to improve your experience.<\/p>");
document.write(" <![endif]-->");
document.write("");
document.write(" <!-- Add your site or application content here -->");
document.write(" <p>Hello world! This is HTML5 Boilerplate.<\/p>");
document.write("");
document.write(" <script src=\"\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.9.1\/jquery.min.js\"><\/script>");
document.write(" <script>window.jQuery || document.write('<script src=\"js\/vendor\/jquery-1.9.1.min.js\"><\\/script>')<\/script>");
document.write(" <script src=\"js\/plugins.js\"><\/script>");
document.write(" <script src=\"js\/main.js\"><\/script>");
document.write("");
document.write(" <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->");
document.write(" <script>");
document.write(" var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];");
document.write(" (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];");
document.write(" g.src=('https:'==location.protocol?'\/\/ssl':'\/\/www')+'.google-analytics.com\/ga.js';");
document.write(" s.parentNode.insertBefore(g,s)}(document,'script'));");
document.write(" <\/script>");
document.write(" <\/body>");
document.write("<\/html>");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment