The simplest HTML skeleton

  • <html> is the main wrapper
  • <head> and <body> are the two main children
    • <head> contains dependencies like styles and JavaScript files
    • <body> contains the page content and it is displayed on the screen.
<!DOCTYPE HTML>
<html lang="en">
  <head>
    <!-- head content here -->
    <title>A title</title>
  </head>
  <body>
    <p>Hello World</p>
  </body>
</html>

Hello World