/ Published in: HTML
HTLM 5 using the google snatch meta tag hiearchy
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="robots" content=""> <meta name="author" content=""> <link rel="stylesheet" href="default.css"> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <div id="accessibility"> </div> <header role="banner"> <div class="masthead"> </div> <nav id="nav"> <ul> ....main site nav list.... </ul> </nav> <div id="secondary-nav"> <ul> ....other non-primary navigation doesn't belong in a nav element.... </ul> </div> </header> <section id="main-content" role="main"> <article> <header> </header> ....article content here.... </article> <article> ....use more article elements if appropriate; if not, I still use divs.... </article> </section> <aside id="sidebar"> ....site sidebar here.... </aside> <footer> .... footer content here .... </footer> </body> </html>