W3S logo Tutorials References Exercises Videos
Pro Get Certified Free Website
User persona

HTML Tutorial

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!

Study our free HTML Tutorial >>
Watch our Video Tutorial >> NEW

Easy Learning with HTML "Try it Yourself"

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

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 >
Try it Yourself! >>

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


HTML Examples

In this HTML tutorial, you will find more than 200 examples. With our online "Try it Yourself" editor, you can edit and test each example yourself!

Go to HTML Examples!

HTML Exercises

This HTML tutorial also contains nearly 100 HTML exercises.

Test Yourself With Exercises

Exercise:

Add a "tooltip" to the paragraph below with the text "About W3Schools".

<p ="About W3Schools">W3Schools is a web developer's site.</p>

Submit Answer >>

Start the Exercise

HTML Quiz Test

Test your HTML skills with our HTML Quiz!

Start HTML Quiz!

My Learning

Track your progress with the free "My Learning" program here at W3Schools.

Log into your account, and start earning points!

This is an optional feature. You can study W3Schools without using My Learning.

mylearning

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:

Kickstart your career

Get certified by completing the HTML course

Get certified kickstarter-arrow w3s-certified-pin
NEW

We just launched
W3Schools videos

w3s-videos-template
Explore now

Get certified
by completing
a HTML
course today!

W3S logo
Get started