Summary
A copy-and-paste template for simple pages.
Situation
You want to make a simple webpage. No styling, just basic content.
Action
Use this template.
- <!doctype html>
- <html lang="en">
- <head>
- <title>Title</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- </head>
- <body>
- </body>
- </html>
Every page must have these tags. If not, the page might work most of the time, but break when you least expect it.
Indent as shown. When tags are inside other tags, like head is inside html and title is inside head, indent another level. If you leave out the indenting, you will have a harder time finding mistakes.
Where referenced