##html Understanding of tag elements
The following is a popular introduction to the usage and meaning of the tag from the PHP Chinese website.
1. Usage: -
TOP
In HTML static web pages, you can see that each web page has a unique startend, and also It’s the
tag.
2. Meaning: -
TOP
I feel that the tag has no role in the web page, but it is true that is indispensable. Hypertext Markup Language begins with and ends with . It can also be understood as the rules specified in HTML web pages; it can also be understood as that if a web page lacks , it is not called HTML.
At the same time, the HTML tags in the web page need to be added with a DOCTYPE statement. In this way, the CSS styles of the web page can be fully effective.
3. Understanding the position of in the HTML web page structure: -
TOP
The most basic html tag structure
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>PHP中文网欢迎您</title>
</head>
<body>
PHP中文网欢迎您!
</body>
</html>
Copy after login
The above HTML codes are abbreviated DOCTYPE and abbreviated charset encoding code.
The above is the detailed content of Understand the tag. For more information, please follow other related articles on the PHP Chinese website!