Websites

HTML Basics for Beginners (Video)

Watch our beginner HTML lessons: what HTML is, how a page is built and how to write your first one. A ready-to-copy example is included.

AMAMJAM Solutions teamRewari, Haryana 3 Oct 20253 min read
On this page

    HTML (HyperText Markup Language) is the language every web page is built with. It describes the content: headings, paragraphs, images, links and more. These two videos explain HTML from scratch and show you how to write your first page.

    The structure of an HTML page

    Every page follows the same basic skeleton:

    <!DOCTYPE html>
    <html lang="en">
      <head>
        <meta charset="utf-8">
        <title>My first page</title>
      </head>
      <body>
        <h1>Hello world</h1>
        <p>This is my first web page.</p>
      </body>
    </html>
    • <!DOCTYPE html> tells the browser this is a modern HTML page.
    • <head> holds information about the page, such as the title and meta tags. Our meta tag generator writes these for you.
    • <body> holds everything visible on the page.

    Key ideas

    • Tags are written in angle brackets, usually in pairs: an opening tag and a closing tag with a slash.
    • Elements are a tag plus its content.
    • Attributes add extra information, like the address of a link.
    • HTML handles structure; CSS handles style; JavaScript handles behaviour.

    Try it

    Copy the example into a text file, save it as index.html and open it in your browser. To turn plain text into HTML paragraphs quickly, use our text to HTML converter.

    Next lessons: HTML editors and running code, elements and tags, headings and paragraphs and attributes.

    Watch: basics of an HTML program

    Want the full picture? This article is part of Business websites: the complete guide, our in-depth guide with everything in one place.

    AM
    Written by the AMJAM Solutions team

    Our specialists handle a new website for businesses across India from our office in Rewari. We update our articles as platforms change.

    Free strategy call

    Find out where your next customers will come from

    Tell us a little about your business. We'll set up a 15-minute call and come prepared with first ideas.

    • No obligation and no sales script
    • Speak with a strategist, not a call centre
    • Leave with at least one thing you can act on

    We use your details only to arrange this call. See our privacy policy.

    Get a free 15‑minute strategy call

    Leave your details and a strategist will call you, usually the same working day.

    We use your details only to reply. See our privacy policy.