/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="default.css"> </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>