THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML Tutorial

HTML is the standard markup language for Web pages.

With HTML you can create your own Website.

This tutorial follows the latest HTML5 standard.

HTML is easy to learn - You will enjoy it!

Start learning HTML now »

Easy Learning with HTML "来试试吧"

With our "来试试吧" 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>
来试试吧 »

Click on the "来试试吧" button to see how it works.


HTML示例

In this HTML tutorial, you will find more than 200 examples. With our online "来试试吧" editor, you can edit and test each example yourself!

Go to HTML示例!



HTML 练习

This HTML tutorial also contains nearly 100 HTML exercises.

Test Yourself With 练习

Exercise:

Add a "tooltip" to the paragraph below with the text "About W3Schools".

<p ="About W3Schools">W3Schools is a web developer's site.</p>

Start the Exercise


HTML测验 Test

Test your HTML skills with our HTML测验!

Start HTML测验!


HTML 参考

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 Exam - Get Your Diploma!

W3Schools Certification

W3Schools' Online Certification

The perfect solution for professionals who need to balance work, family, and career building.

More than 25 000 certificates already issued!

Get Your 证书 »

The HTML证书 documents your knowledge of HTML.

The CSS证书 documents your knowledge of advanced CSS.

The JavaScript 证书 documents your knowledge of JavaScript and HTML DOM.

The Python 证书 documents your knowledge of Python.

The jQuery证书 documents your knowledge of jQuery.

The SQL证书 documents your knowledge of SQL.

The PHP 证书 documents your knowledge of PHP and MySQL.

The XML 证书 documents your knowledge of XML, XML DOM and XSLT.

The Bootstrap 证书 documents your knowledge of the Bootstrap framework.




W3Schools is optimized for learning, testing, and training. 示例 might be simplified to improve reading and basic understanding. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 1999-2020 by Refsnes Data. All Rights Reserved.
Powered by W3.CSS.

W3Schools.com