Skip to content

Instantly share code, notes, and snippets.

@liamcurry
Created June 10, 2011 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save liamcurry/1019177 to your computer and use it in GitHub Desktop.
Save liamcurry/1019177 to your computer and use it in GitHub Desktop.
HTML Boilerplate
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<meta http-equiv='Content-Type' content='text/html;charset=utf-8' />
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<title></title>
<meta name='description' content=''>
<meta name='author' content=''>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='stylesheet' type='text/css' href='css/master.css' />
<link rel='alternate' type='application/rss+xml' title='RSS' href='' />
</head>
<body>
<div id='container'>
<div id='header'>
<h1><a href=''></a></h1>
</div>
<div id='content'>
</div>
<div id='footer'>
</div>
</div>
<script src='js/index.js'></script>
</body>
</html>
(function() {
window.onload = function() {
};
})();
/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video { margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline; }
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: '';content: none; }
table { border-collapse: collapse;border-spacing: 0; }
/* Styles */
#container {}
#header {}
#header h1 {}
#header h1 a {}
#content {}
#footer {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment