Skip to main content
Free tutorial

HTML Introduction

Read the explanation, study the example, and practice at your own pace.

HTML is the standard markup language for creating web pages. In this free tutorial, you will build your first page.

What you will learn

Headings, paragraphs, links, and page structure.

Learning by Examples

Edit this sample and select Try it Yourself to run it:

<!DOCTYPE html>
<html>
<head><title>My Page</title></head>
<body>
  <h1>Hello, World!</h1>
  <p>My first HTML page.</p>
</body>
</html>

Key takeaways

A heading uses <h1>, and a paragraph uses <p>.

Share this resourceHelp others learn and discover useful ideas.

To create a PDF, choose “Save as PDF” in your browser’s print dialog. Layout and ads are simplified for printing.

Continue your learning

Small, consistent practice makes difficult concepts easier to understand.