HTML Tag
Definition and usage (Recommended learning: HTML introductory tutorial)
This element can tell the browser that it is an HTML document.and tags define the start and end points of the document, and between them are the head and body of the document. As you know, the head of the document is defined by the tag, while the body is defined by the tag.
Tip
Note: Even if the html element is the root element of the document, it does not contain the doctype element. The doctype element must precede the html element.
Example
<html> <head> <title>我的第一个 HTML 页面</title> </head> <body> <p>body 元素的内容会显示在浏览器中。</p> <p>title 元素的内容会显示在浏览器的标题栏中。</p> </body> </html>
The above is the detailed content of HTML tag. For more information, please follow other related articles on the PHP Chinese website!