English [ˌeɪtʃ ti: em ˈel] US [ˌetʃtiɛmˈɛl]

abbr.Hypertext Markup Language Hypertext Markup Language

html html tag syntax

Function: Inform the browser that it is an HTML document.

Description: <html> and </html> tags define the start and end points of the document, and between them are the head and body of the document.

Note: Even if the html element is the root element of the document, it does not contain a doctype element. The doctype element must precede the html element.

html html tag example

<html>

<head>
<title>我的第一个 HTML 页面</title>
</head>

<body>
<p>body 元素的内容会显示在浏览器中。</p>
<p>title 元素的内容会显示在浏览器的标题栏中。</p>
</body>

</html>

Run instance »

Click the "Run instance" button to view the online instance