Skip to main content
Every website is built on HTML. Here is the basic skeleton you need to start.

The Basic Template

Create a file named index.html and paste this code:

Explanation

  • <!DOCTYPE html>: Tells the browser “This is an HTML5 document”.
  • <html>: The container for everything.
  • <head>: Contains “invisible” info for the browser.
    • <title>: The text you see in the browser tab.
    • <meta>: Settings for characters and mobile scaling.
  • <body>: Contains everything you see on the page.
    • <h1>: A main heading (Header 1).
    • <p>: A paragraph of text.

How to View It

  1. Save the file as index.html.
  2. Double-click it.
  3. It will open in your browser showing your text!
Guide created by HighMark - All information and contacts on my official website: Highmark.it