Basic HTML Document

A HTML Document is a text file written for web browsers to read.

Basic HTML5 Document Example
This example show the basic structure needed to define a modern HTML5 document:

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Document Title</title>
        <meta content="width=device-width" name="viewport"> <!-- optional (really?) device-width -->
    </head>
    <body>
        <!-- Page content goes here. -->
    </body>
</html>
 

More Resources