/ Published in: HTML
URL: http://www.vultur.ca/snipplr/html5.html
This is a basic template that I use most of the time for proper any html5 projects, it's straightforward simple with a few basic elements that are often used in any projects. I've taken the habits of commenting the end of a div to refer easily to it on a big scale project, but headers, navs, articles, asides, sections and footers are not commented at the end.
Expand |
Embed | Plain Text
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="description" content="Ermahgerd Webr"> <meta name="author" content="Derp"> <link rel="stylesheet" href="css/style.css"> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <!-- Le Header --> <header></header> <!-- Le Navigation --> <nav> <ul> </ul> </nav> <!-- Le Content Wrapper --> <div id="wrapper"> <!-- Le Content --> <div id="content"> <!-- Le Article --> <article> </article> </div><!-- Le Content END --> <!-- Le Complementary Stuff --> <aside></aside> </div><!-- Le Content Wrapper END --> <!-- Le Footer --> <footer></footer> <!-- Le End --> </body> </html>
You need to login to post a comment.
