Using HTML to make a Web page must know: Page Head area specification

Source: Internet
Author: User
Tags character set
Specification | page | Page Head area refers to the content between Tags that must be added

1. Company Copyright note
<!---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. 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" >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.