Head indicates the header of an HTML file, which is used to indicate the file name and related information of the file. This part of labels usually declare the web page: default language encoding, keywords, use software, etc.......Indicates YesFile Header, used to indicate the file name and information related to the file itself. This part of labels usually declare the web page: default language encoding, keywords, use software, etc.
Meta Tags can be divided into two parts: HTTP title information (HTTP-EQUIV) and page description information (NAME ). The following table describes the HTTP title information.
Table 1 HTTP header information (HTTP-EQUIV) Table
| Content-type |
Show Character Set |
|
| Refresh |
Refresh yourself at the specified time on the page, or jump |
|
| Expires |
Specify the expiration time of the webpage Cache |
|
| Cach |
Allow the browser to access the cache from a local machine |
|
| Set-cookie |
Disable or disable cookies |
|
| Window-target |
Force display of the page |
Force the page to be displayed on an independent page in the current window. It can also be used to prevent others from calling the page in the framework. The options of content are _ blank, _ top, _ self, and _ parent. |
| Page-enter, page-exit |
Special Effect settings for entering and exiting the page |
This actually utilizes the CSS Filter. |
The Meta page description information (NAME) is used to describe and describe the webpage. The name describes the webpage and corresponds to the content for searching robots for search and classification. The value of name (name = ") specifies the information type provided, some of which
Values are defined, such as description, keyword, and refresh. You can also specify other arbitrary values, such as creationdate, entid, and Level. The following table describes the specific syntax:
Table 2 HTTP description table
| Keywords |
Declare the keywords of the web page, and the search engine automatically completes the keyword index. |
|
| Description |
Describe the main content of the website, and search will also use this attribute to retrieve the website, but it is not displayed. |
|
| Robots |
The robot wizard is used to tell the robots that the pages need to be indexed and those do not need to be indexed. |
All: The file will be indexed. The None file is not indexed, And the link on the page cannot be queried. (Same as "NoIndex, NoFollow"). Index: the file will be retrieved. Follow: links on the page can be queried. |
| Author |
Page author |
|
| Copyright |
Used to indicate Copyright |
|
| Generator |
Editor |
|
| Revisit-after |
Set the time interval for re-access, in days. (I am not very clear about the label function) |
|
| |
|
|
Meta also has some other tags, which are also organized in a unified manner, as shown in the following table:
Table 3 Meta other tag tables
| Scheme |
A description label |
|
| Link |
Link to a file |
The small icon displayed in the favorites folder and the small icon in the address bar |
| Base |
Base Link |
After this statement is used, all relative paths on the web page will automatically add the preceding address when linking. |