ruk·si

📃 HTML
Boilerplate

Updated at 2014-09-24 02:47

This is a basic HTML page boilerplate. I recommend using HTML5 Boilerplate but this is a lightweight version of that to get you going.

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="css/file1.css">
    <link rel="stylesheet" href="css/file2.css">
</head>
<body>
    <header>
        <div>Logo</div>
        <nav>
            <span>Item 1</span>
            <span>Item 2</span>
            <span>Item 3</span>
        </nav>
    </header>
    <main>
        <header>
            <h1>Page Title</h1>
        </header>
        <article>
            <header>
                <h2>Article Title</h2>
                <div>
                    Published <time datetime="2014-09-22">09/22/2014</time>
                </div>
            </header>
            <p><b>Article content, first paragraph</b></p>
            <figure>
                <img>
                <figcaption>Figure caption</figcaption>
            </figure>
            <p>Article content, <i>foreign language word</i></p>
            <p>Article content, <em>emphase</em> something</p>
            <footer>
                Article references
            </footer>
        </article>
    </main>
    <aside>
        <div>Sidebar</div>
        <section>
            Somehow related content e.g. links.
        </section>
    </aside>
    <footer></footer>
    <script src="js/file1.js"></script>
    <script src="js/file2.js"></script>
</body>
</html>

Source