Posted by : Sudhir Chekuri Friday, 15 November 2013

HTML5 is used to create static webpages with 2d graphics, audio and video players which can be played without installing any flash plugins in browser.

It also have lot of new features like local storage, css3 support and so on.

Basic structure of HTML5 document

<!DOCTYPE HTML>
<html>
<body>

</body>
</html>

HTML5 contains semantic tags like header, article, nav, footer, ...
Header tag is used to hold heading tags present in html document.
article tag is used to hold multiple paragraph tags below to same article in html document.
nav tag is used to hold multiple navigation tags like anchor tags.?
footer tag is used to hold text which is displayed at the bottom of the page as footer.

<!DOCTYPE HTML>
<html>
<body>
    <header>
        <h1>SQL</h1>
        <h>Structure Query Language</h> 
    </header>
    <article>
        <p>
            This is paragraph1.
        </p>
        <p>
            This is paragraph2.
        </p>
    </article>
    <nav>
        <a href="http://www.google.com">Click here to navigate to google</a>
        <br/>
        <a href="http://www.dbakings.com">Click here to navigate to dbakings website</a>
    </nav>
    <footer>
        Copyrights goes here
    </footer>
</body>
</html>


Leave a Reply

Subscribe to Posts | Subscribe to Comments

Followers

Total Pageviews

Powered by Blogger.

Blog Archive

- Copyright © 2013 DevStudent - Metrominimalist - Powered by Blogger - Designed by Johanes Djogan -