Wednesday 5 December 2012

basic HTML5 page structure

HTML5 Page Structure

<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Your Website</title>
</head>
<body>
    <header>
        <h2>Your Header</h2>
    </header>
    <nav>
            <ul>
                <li>Your menu</li>
            </ul>
        </nav>
    <section>
       <article>
            <header>
                <h2>Article title</h2>
                <p>Posted on <time datetime="2009-09-04T16:31:24+02:00">September 4th 2009</time> by <a href="#">Writer</a> - <a href="#comments">6 comments</a></p>
            </header>
            <p>If anyone has any suggesions please show me your ideas.</p>
        </article>       
        <article>
            <header>
                <h2>Article title</h2>
                <p>Posted on <time datetime="2009-09-04T16:31:24+02:00">September 4th 2009</time> by <a href="#">Writer</a> - <a href="#comments">6 comments</a></p>
            </header>
            <p>If anyone has any suggesions please show me your ideas.</p>
        </article>       
    </section>
    <aside>
        <h2>About section</h2>
        <p>If anyone has any suggesions please show me your ideas.</p>
    </aside>
    <aside>
        <h2>Reach me @ www.1289solutions.blogspot.in to post your comment. </h2>
        <p>If anyone has any suggesions please show me your ideas.</p>
    </aside>
    <footer>
        <p>Copyright 2012 Your name</p>
    </footer>
</body>
</html>

No comments:

Post a Comment

Do you think it could be useful for you? Share your thoughts with us!