Basic HTML5 Template Layout Example

Posted written by Paul Seal on December 13, 2016 Resources

What is this for?

This is just a quick post to give you some sample HTML5 basic markup.
You can just copy the markup, paste it into your file and start writing the HTML.

Ok I'll be honest, I've done it for me, but you can use it too.

Basic HTML5 Template Layout

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="IE=edge,chrome=1' http-equiv='X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title></title>
    <!--css here-->
    <!--<link rel="stylesheet" type="text/css" href="/css/style.css">-->
</head>
<body>
    <h1>Coming Soon</h1>
    <!--scripts here-->
    <!--<script type="text/javascript" src="/css/script.js"></script>-->
</body>
</html>

Basic HTML5 Template with Header, Footer and Nav

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="IE=edge,chrome=1' http-equiv='X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <!--css here-->
    <!--<link rel="stylesheet" type="text/css" href="/css/style.css">-->
</head>
<body>
    <header>
        <nav>
            <a href="/" class="active">Home</a>
            <a href="/about/">About</a>
            <a href="/contact/">Contact</a>
        </nav>
        <h1>Header 1</h1>
    </header>
    <section>
        <h2>Header 2</h2>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
    </section>
    <footer>
        &amp;copy; 2016
    </footer>
    <!--scripts here-->
    <!--<script type="text/javascript" src="/scripts/site.js"></script>-->
</body>
</html>

IF you find this page useful, add it to your bookmarks.