The head area refers to the content between <head> and </head> of the homepage HTML code.
Required tags
1. Company Copyright Notes
<!--- The site is designed by webjx.com 06/2006 --->
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=Evance>
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>
7. Web page title
<title>xxxxxxxxxxxxxxxxxx</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 2006 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.webjx.com>
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
<link rel = Shortcut Icon href=favicon.ico>
All javascript calls should be made from external calls.
<SCRIPT LANGUAGE=javascript SRC=script/xxxxx.js></SCRIPT>
Attached <body> tag:
The <body> 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 <body bgcolor=#FFFFFF>