Skip to main content
D
HTML
HTML Introduction

HTML Introduction

HTML is the standard language for creating web pages.

Read Time
5 min read
Difficulty
Beginner
Last Updated
Jun 15, 2026
Version
v1.0.0

Introduction

HTML describes the structure of web content using elements. An element represents content wrapped in tags, which are labels enclosed in angle brackets. Browsers read these elements and render them into a visual page.

Syntax

Syntax
1<!-- NOTE: reference file does not cover syntax fully — placeholder used -->
2<tagname>Content goes here...</tagname>

Example

Example
1<!-- this defines a basic html file -->
2<!DOCTYPE html>
3<html lang="en">
4  <head>
5    <meta charset="UTF-8">
6    <meta name="viewport" content="width=device-width, initial-scale=1.0">
7    <title>My Page</title>
8    <link rel="stylesheet" href="styles.css">
9  </head>
10  <body>
11    <h1>Hello, World!</h1>
12    <p>Welcome to my first web page.</p>
13    <script src="app.js"></script>
14  </body>
15</html>

Try it Yourself

Hands-on Practice
Modify the code below to see how it affects the output. This is the best way to learn!
Interactive Editor
1234567891011121314151617181920
Live Preview

Key Points

  • HTML stands for HyperText Markup Language.
  • HTML defines the structure of a web page.
  • Browsers render HTML into a visual page.
  • CSS handles page styling.
  • JavaScript handles page behavior.

Up Next

Continue your journey with the next topic.

Go to HTML Editors