HTML Tutorial

Learn HTML

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 Tutorial

Study our HTML Tutorial for free,
no registration needed.

OR

HTML Course + Certificate

Upgrade your learning with our
interactive HTML Course and Get Certified.

🏁

Tip: Sign in to track your progress.

Learning by Examples

With our "Try it Yourself" editor, you can edit the HTML code and view the result in the browser:

Example

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

Click on the "Try it Yourself" button to see how it works.

HTML Examples

This tutorial supplements all explanations with clarifying examples.

ADVERTISEMENT

REMOVE ADS

HTML Exercises

Many chapters in this tutorial end with an exercise where you can check your level of knowledge.

Exercise?

What is a correct syntax for an HTML hyperlink?


<a href='/home.htm'>Visit W3Schools.com!</a>

<link href='/home.htm'>Visit W3Schools.com!</link>

<alink href='/home.htm'>Visit W3Schools.com!</alink>

HTML Quiz Test

Test your HTML skills with our HTML Quiz!

Track Your Progress

Create a

  • View your completed tutorials, exercises, and quizzes

  • Keep an eye on your progress and daily streaks

  • Join the leaderboard and compete with others

  • Get your own avatar and unlock new skins

  • Create your own personal website

Note: This is an optional feature. You can study at W3Schools without creating an account.

HTML References

At W3Schools you will find complete references about HTML elements, attributes, events, color names, entities, character-sets, URL encoding, language codes, HTTP messages, browser support, and more:

HTML Elements

Browser Support

Attributes

Global Attributes

Event Attributes

Color Names

Canvas

Audio/Video DOM

Character Sets

URL Encoding

Language Codes

Country Codes

HTTP Messages

Px to Em Converter

Keyboard Shortcuts