HTML Tutorial
HTML Tutorial
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>
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!
ADVERTISEMENT
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?
My Learning
Track your progress with the free "My Learning" program here at W3Schools.
This is an optional feature. You can study at W3Schools without using My Learning.
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