Menu Log in
Dark mode
Dark code
HTML CSS
HTML Tutorial
❮ Home Next ❯
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 »
NEW
Watch our Video Tutorial »
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.
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
Kickstart your career
Get certified by completing
the HTML course
Get certified w3schoo
l
s
CE
RT
2
I
20
2
FI
ED
.
❮ Home Next ❯
NEW
We just launched
W3Schools videos
Explore now
COLOR PICKER
Get certified
by completing
a HTML
course today!
school
w3 s
2
CE
02
TI 2
R
FI .
ED
Get started
CODE GAME
Play Game
Report Error
Spaces
Upgrade
Get Certified
Top Tutorials
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
How To Tutorial
SQL Tutorial
Python Tutorial
W3.CSS Tutorial
Bootstrap Tutorial
PHP Tutorial
Java Tutorial
C++ Tutorial
jQuery Tutorial
Top References
HTML Reference
CSS Reference
JavaScript Reference
SQL Reference
Python Reference
W3.CSS Reference
Bootstrap Reference
PHP Reference
HTML Colors
Java Reference
Angular Reference
jQuery Reference
Top Examples
HTML Examples
CSS Examples
JavaScript Examples
How To Examples
SQL Examples
Python Examples
W3.CSS Examples
Bootstrap Examples
PHP Examples
Java Examples
XML Examples
jQuery Examples
Get Certified
HTML Certificate
CSS Certificate
JavaScript Certificate
Front End Certificate
SQL Certificate
Python Certificate
PHP Certificate
jQuery Certificate
Java Certificate
C++ Certificate
C# Certificate
XML Certificate
FORUM |
ABOUT
W3Schools is optimized for learning and training. Examples might be simplified to improve reading and
learning.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot
warrant full correctness of all content.
While using W3Schools, you agree to have read and accepted our
terms of use, cookie and privacy policy.
Copyright 1999-2022 by Refsnes Data. All Rights Reserved.
W3Schools is Powered by W3.CSS.