Tutorials Exercises Services Sign Up Log in
HTML
CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++
HTML Tutorial
❮ Home Next ❯
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!
Start learning HTML now »
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>Tutorials Exercises Services Sign Up Log in
</html>
HTML
CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++
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!
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?
<a href='/home.htm'>Visit W3Schools.com!</a>
<link href='/home.htm'>Visit W3Schools.com!</link>
<alink href='/home.htm'>Visit W3Schools.com!</alink>
Submit Answer »
See allTutorials
HTMLExercises
Exercises Services Sign Up Log in
HTML
CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++
HTML Quiz Test
Test your HTML skills with our HTML Quiz!
Start HTML Quiz!
Track Your Progress
Create a free W3Schools account and get access to more features and learning materials:
View your completed tutorials, exercises, and quizzes
Keep an eye on your progress and daily streaks
Set goals and create learning paths
Create your own personal website
Sign Up for Free
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
Tutorials
Canvas Exercises Services
Audio/Video
DOM Sign Up
Character Sets Log in
HTML
CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++
URL Encoding Language Codes Country Codes
HTTP Messages Px to Em Converter Keyboard Shortcuts
Kickstart your career
Get certified by completing the HTML course
w3schoo
Get certified l
s
CE
RT
I 5
20
2
FI
ED
.
Video: HTML for Beginners
Tutorials Exercises Services Sign Up Log in
HTML
CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++
❮ Home Next ❯
Track your progress - it's free! Sign Up Log in
ADVERTISEMENT
Tutorials Exercises Services Sign Up Log in
HTML
CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++
COLOR PICKER
Tutorials Exercises
Services Sign Up Log in
HTML CSS JAVASCRIPT
ADVERTISEMENT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++
ADVERTISEMENT ADVERTISEMENT
Tutorials Exercises Services Sign Up Log in
HTML
CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++
PLUS SPACES
GET CERTIFIED FOR TEACHERS
FOR BUSINESS CONTACT US
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 Get Certified
HTML Examples HTML Certificate
CSS Examples CSS Certificate
JavaScript Examples JavaScript Certificate
How To Examples Front End Certificate
SQL Examples SQL Certificate
Python Examples Python Certificate
W3.CSS Examples PHP Certificate
Bootstrap Examples jQuery Certificate
PHP Examples Java Certificate
Java Examples C++ Certificate
XML Examples C# Certificate
jQuery Examples XML Certificate
Tutorials Exercises Services Sign Up Log in
HTML
CSS JAVASCRIPT SQL PYTHON
JAVA
PHP HOW TO W3.CSS C C++
FORUM ABOUT ACADEMY
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-2025 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.