HTML Tutorial

Learn the fundamental language for building web pages. HTML describes the structure of a Web page and consists of a series of elements.


HTML Introduction

HTML is the standard markup language for Web pages. With HTML you can create your own Website. HTML is easy to learn - You will enjoy it!

"HTML" stands for Hyper Text Markup Language. It is not a programming language; rather, it is a markup language that tells web browsers how to structure the web pages you visit.

Simple HTML Document

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Page Title</title>
  </head>
  <body>
    <h1>My First Heading</h1>
    <p>My first paragraph.</p>
  </body>
</html>

What is HTML?

  • HTML stands for Hyper Text Markup Language
  • HTML is the standard markup language for creating Web pages
  • HTML describes the structure of a Web page
  • HTML elements tell the browser how to display the content
  • HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.
Practice: Headings & Paragraphs

Experiment with different heading sizes (h1 to h6) and see how they render in real-time.

<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<p>This is a text paragraph with some <b>bold</b> text.</p>
Next: Basic Tags