You are on page 1of 7

HTML Tutorial https://www.w3schools.

com/html/

 Tutorials  References  Exercises  Menu  Log in

Website NEW Paid Courses

  HTML CSS JAVASCRIPT SQL   

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

1 of 7 10/28/2021, 1:08 PM
HTML Tutorial https://www.w3schools.com/html/

<!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:
2 of 7 10/28/2021, 1:08 PM
HTML Tutorial https://www.w3schools.com/html/

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!

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

3 of 7 10/28/2021, 1:08 PM
HTML Tutorial https://www.w3schools.com/html/

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

I
20
2

FI
ED
.

❮ Home Next ❯

4 of 7 10/28/2021, 1:08 PM
HTML Tutorial https://www.w3schools.com/html/

NEW

We just launched
W3Schools videos

Explore now

COLOR PICKER

LIKE US



Get certified
by completing
a course today!

school
w3 s
1
CE

02

TI 2
R

FI .
ED

5 of 7 10/28/2021, 1:08 PM
HTML Tutorial https://www.w3schools.com/html/

Get started

CODE GAME

Play Game

Report Error Forum About Shop

Top Tutorials Top References


HTML Tutorial HTML Reference
CSS Tutorial CSS Reference
JavaScript Tutorial JavaScript Reference
How To Tutorial SQL Reference
SQL Tutorial Python Reference
Python Tutorial W3.CSS Reference
W3.CSS Tutorial Bootstrap Reference
Bootstrap Tutorial PHP Reference
PHP Tutorial HTML Colors
Java Tutorial Java Reference
C++ Tutorial Angular Reference
jQuery Tutorial jQuery Reference

Top Examples Web Courses


HTML Examples HTML Course

6 of 7 10/28/2021, 1:08 PM
HTML Tutorial https://www.w3schools.com/html/

CSS Examples CSS Course


JavaScript Examples JavaScript Course
How To Examples Front End Course
SQL Examples SQL Course
Python Examples Python Course
W3.CSS Examples PHP Course
Bootstrap Examples jQuery Course
PHP Examples Java Course
Java Examples C++ Course
XML Examples C# Course
jQuery Examples XML Course

Get Certified »

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-2021 by Refsnes Data. All Rights Reserved.


W3Schools is Powered by W3.CSS.

7 of 7 10/28/2021, 1:08 PM

You might also like