Home  >  Article  >  Web Front-end  >  Code specifications for the head area of ​​the website home page_Experience exchange

Code specifications for the head area of ​​the website home page_Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:10:251326browse

The head area refers to the content between

and in the HTML code of the home page.
Required tags

1. Company copyright annotation


2. Web page display character set
Simplified Chinese:
Traditional Chinese :
English:

3. Web page creator information


4. Website introduction


5. Search keywords


6. Web page css specification

(see directory and naming convention)

7. Web page title
xxxxxxxxxxxxxxxxxx

. You can choose to add tags

1. Set the expiration time of the web page. Once a web page expires, it must be retrieved from the server.


2. Prohibit the browser from accessing page content from the local cache.


3. Used to prevent others from calling your page in the frame.


4. Automatically jump.

Hold the time with 5 fingers for 5 seconds.

5. Web search robot wizard. Used to tell the search robot which pages need to be indexed and which pages do not need to be indexed.

CONTENT parameters include all, none, index, noindex, follow, nofollow. The default is all.

6. Favorites icon


All javascript calls should be made from external sources as much as possible.
 cript>

Attach. tag:
tag does not belong to the head area. It is emphasized here that in order to ensure browser compatibility, the page background must be set


Statement:
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