Today we briefly introduce the head area where the main content is placed. There is no emphasis on CSS and JavaScript, both of which are well known.
The head area must include the following logos:
Company Copyright note
<!---the site is designed by Mrjin 03/2001--->
Web page display Character set
Chinese Simplified:
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
Chinese Traditional:
<meta http-equiv= "Content-type" content= "text/html; Charset=big5 ">
English
<meta http-equiv= "Content-type" content= "text/html; Charset=iso-8859-1 ">
Or:
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 ">
Original creator Information
<meta name= "Author" content= "[email protected]" >
About the website
<meta name= "description" content= "Here to fill in your website profile" >
Search keywords
<meta name= "keywords" content= "keyword 1, keyword 2, keyword 3,..." >
CSS specification for Web pages
<link href= "Style/style.css" rel= "stylesheet" type= "Text/css" >
Page title
<title> here is the title of your page </title>
The head area is optionally included in the logo:
Sets the expiration time of the page. Once the page expires, it must be re-accessed on the server.
<meta http-equiv= "Expires" content= "Wed, 1997 08:21:57 GMT" >
Prevents the browser from accessing the contents of the page from the local machine's cache.
<meta http-equiv= "Pragma" content= "No-cache" >
Used to prevent others from calling your page in the frame.
<meta http-equiv= "Window-target" content= "_top" >
Auto Jump (5 means time to stay for 5 seconds).
<meta http-equiv= "Refresh" content= "5;url=www.jb51.net" >
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 content parameters are all,none,index,noindex,follow,nofollow. The default is all.
Favorites Icon
<link rel = "shortcut icon" href= "Favicon.ico" >
Http://www.jb51.net/article/15404.htm
Code writing specification for the head area of HTML pages