The head area refers to the HTML code of the homepage
and content between. 1. Company Copyright Notes
2. Web page display character set
Simplified Chinese: META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"
Traditional Chinese: META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=BIG5">
English: META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"
3.Web page creator information
META name="author" content="www.downcodes.com"
4. Website introduction
META NAME="DESCRIPTION" CONTENT="xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
5. Search keywords
META NAME="keywords" CONTENT="xxxx,xxxx,xxx,xxxxx,xxxx,"
6. CSS specifications for web pages
LINK href="style/style.css" rel="stylesheet" type="text/css"
(See directory and naming conventions)
7. Web page title
.opt-in tags
1. Set the expiration time of the web page. Once a web page expires, it must be retrieved from the server.
META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"
2. Prohibit the browser from accessing page content from the local machine's cache.
META HTTP-EQUIV="Pragma" CONTENT="no-cache"
3. Used to prevent others from calling your page in the frame.
META HTTP-EQUIV="Window-target" CONTENT="_top"
4. Automatically jump.
META HTTP-EQUIV="Refresh" CONTENT="5;URL=http://www.downcodes.com"
Use 5 fingers to hold the time 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.
META NAME="robots" CONTENT="none"
The parameters of CONTENT include all, none, index, noindex, follow, and nofollow. The default is all.
6. Favorites icon
All javascript calls should be made from external calls.
LANGUAGE="javascript" SRC="script/xxxxx.js"
attached
Label: