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
At the end of the HTML tutorial, you can find more than 200 examples.With our online editor, you can edit and test each example yourself.
Go to HTML Examples!
HTML Exercises and Quiz Test
Test your HTML skills at W3Schools!Start HTML Exercises!
Start HTML Quiz!
HTML References
At W3Schools you will find complete references about tags, attributes, events, color names, entities, character-sets, URL encoding, language codes, HTTP messages, and more.HTML Tag Reference
HTML Exam - Get Your Diploma!
W3Schools' Online Certification
The perfect solution for professionals who need to balance work, family, and career building.More than 10 000 certificates already issued!
The HTML Certificate documents your knowledge of HTML.
The CSS Certificate documents your knowledge of advanced CSS.The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The jQuery Certificate documents your knowledge of jQuery.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The Bootstrap Certificate documents your knowledge of the Bootstrap framework.