HTML tag

(*-*)浩
Release: 2019-09-28 16:33:16
Original
2912 people have browsed it

HTML Tag

HTML <html> tag

##All browsers support the 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>
Copy after login

The above is the detailed content of HTML tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template