/ Published in: HTML
URL: http://snipplr.com/view.php?codeview&id=39056
HTML5 starting point template. Used in conjunction with HTML5 CSS reset at the above link.
Expand |
Embed | Plain Text
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="description" content="A description about your site" /> <meta name="keywords" content="keywords, separated, by, comma" /> <link rel="shortcut icon" href="favicon.ico" /> <link rel="stylesheet" href="css/style.css" media="screen" /> <link rel="stylesheet" href="css/print.css" media="print" /> <link rel="stylesheet" href="css/mobile.css" media="handheld" /> <!--[if IE]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <section id="header"> <header> <nav> <ul> </ul> </nav> </header> </section> <section id="main"> <article> <hgroup> <a href="#"> </a> </hgroup> </article> <aside> Sidebar Filler </aside> </section> <section id="footer"> <footer> © Copyright Year by Author. All Rights Reserved. </footer> </section> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'XX-XXXXXXX-XX']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> </html>
Comments
Subscribe to comments
You need to login to post a comment.

Why are you putting sections around the elements?
Why not?
http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-section-element
You don't need around the and elements.
hmm.. that was supposed to say that you don't need "section" around the "header" and "footer" elements.
Not really, but it doesn't actually matter.