Home

Your Web Development Template

|
Updated:  
2024-01-05 18:59:23
|
HTML & CSS Essentials For Dummies
Explore Book
Buy On Amazon
All web pages start out with the same basic HTML structure, so you can get any new web development project off on the right foot by first laying down that foundation. You can do this most easily by creating a template file that you can copy for each new web coding project. Here are the HTML tags to add to your template: <!DOCTYPE html><html lang="en"><head>

    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title></title>

    <link href="styles.css" rel="stylesheet">

    <script src="code.js" defer></script>

</head><body>

    <header>

    </header>

    <nav>

    </nav>

    <main>

        <article>

        </article>

        <aside>

        </aside>

    </main>

    <footer>

    </footer>

</body>

For the <link> and <script> tags, be sure to adjust the filenames as needed, and be sure to add the path to each file if you’ve stored the files in subdirectories.

About This Article

This article is from the book: 

About the book author:

Paul McFedries is a Google® Workspace administrator, a thankless job if ever there was one. Paul is also a full-time technical writer who has somehow found the time to write more than 100 books that have sold more than four million copies worldwide.