THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML Tutorial

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

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:


Kickstart your career

Get certified by completing the course

Get started w3schools CERTIFIED . 2021




W3Schools is optimized for learning and training. 示例 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.

W3Schools.com