Menu

Log in

HTML

CSS

JAVASCRIPT

SQL

PYTHON

JAVA

PHP

HOW TO

W3.CSS

C

C++

C#

BOOTSTRAP

REACT

MYSQL

JQUERY

EXCEL

XML

DJANGO

NUMPY

PANDAS

NODEJS

R

TYPESCRIPT

ANGULAR

GIT

POSTGRESQL

MONGODB

ASP

AI

KOTLIN

SASS

VUE

CYBERSECURITY

DATASCIENCE

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


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>

<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

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?

Submit Answer

See all HTML Exercises


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 in to your account, and start earning points!

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
Attribute
Global Attributes
Events Attributes
Color Names
Canvas
Audio/Video DOM
Character Sets
URL Encoding
Language Codes
Country Codes
HTTP Messages
Px Em Converter
Keyboard Shortcuts

Home

Next