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">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Page Title</title>
    </head>
    <body>
        <!-- Page content goes here. -->
    </body>
</html>
 

More Resources