Understand the tag

一个新手
Release: 2017-10-24 11:58:33
Original
1558 people have browsed it


##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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!