Your Web Development Template - dummies

By Paul McFedries

Part of Web Coding and Development Cheat Sheet

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">


<meta charset="utf-8">

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


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

<script src="code.js">
















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.