1 Minute HTML CSS Part 4 – Basic Page Structure

A PROPER BASIC HTML PAGE

<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
    <meta name="description" content="My first web page.">
    <meta charset="utf-8">
  </head>
  <body>
    <h1>Hello World</h1>
    <p>It works!</p>
  </body>
</html>
  • <!DOCTYPE html> HTML document type definition. This is NOT AN HTML TAG, but a definition.
  • <html> Marks the start and end of the HTML document.
  • <head> Header section, used to contain information such as page title, description, character set, scripts to load, etc…
  • <body> Body section, the content itself.

Feel free to use this as a “very simple starting template” for your projects.

Leave a Comment

Your email address will not be published. Required fields are marked *