Specification | page | page
The head area refers to the content between
Tags that must be added
1. Company Copyright note
<!---The site is designed bywebjx.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. Introduction to the website
<meta name= "DESCRIPTION" content= "xxxxxxxxxxxxxxxxxxxxxxxxxx" >
5. Search keywords
<meta name= "keywords" content= "xxxx,xxxx,xxx,xxxxx,xxxx," >
6. CSS specification for Web pages
<link href= "Style/style.css" rel= "stylesheet" type= "Text/css" >
7. Page Title
<title>xxxxxxxxxxxxxxxxxx</title>
. You can choose to add a label
1. Set the expiration time of the Web page. Once the page expires, it must be reopened on the server.
<meta http-equiv= "Expires" content= "Wed Feb, 2006 08:21:57 GMT" >
2. The browser is prohibited from accessing the contents of the page from the local machine cache.
<meta http-equiv= "Pragma" content= "No-cache" >
3. To prevent others from calling your page in the frame.
<meta http-equiv= "Window-target" content= "_top" >
4. Automatic jump.
<meta http-equiv= "Refresh" content= "5; Url=http://www.webjx.com ">
5 refers to the time to stay 5 seconds.
5. Web Search Robot Wizard. Used to tell search bots which pages need to be indexed and which pages don't need to be indexed.
<meta name= "Robots" content= "None" >
The parameters of the content are all,none,index,noindex,follow,nofollow. The default is all.
6. Favorite folder icon
<link rel = "Shortcut Icon" href= "Favicon.ico" >
All JavaScript calls take as much external calls as possible.
<script language= "javascript" src= "Script/xxxxx.js" ></SCRIPT>
Attached <body> Tags:
<body> tags do not belong to the head area, here to emphasize that in order to ensure browser compatibility, you must set the page background <body bgcolor= "#FFFFFF" >