亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

html頁(yè)面head區(qū)域的編碼書寫規(guī)范

 更新時(shí)間:2008年08月06日 10:06:53   作者:  
我們這里所說的head區(qū)域,是指頁(yè)頁(yè)html代碼的<head>和</head>之間的內(nèi)容。在jb51.net的文章中,主要介紹了大量的css知識(shí),而對(duì)html頁(yè)面的知識(shí)介紹并不是很多。
今天我們簡(jiǎn)單的介紹一下head區(qū)域主要放置了內(nèi)容。這里就不強(qiáng)調(diào)css和javascript了,這兩者是大家所熟知的。


head區(qū)一般必須加入的標(biāo)識(shí)有: 


公司版權(quán)注釋
<!--- the site is designed by MrJin 03/2001 --->  

網(wǎng)頁(yè)顯示字符集
簡(jiǎn)體中文:
<meta http-equiv="content-type" content="text/html; charset=gb2312">
繁體中文:
<meta http-equiv="content-type" content="text/html; charset=big5">
英 語(yǔ):
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
或者:
<meta http-equiv="content-type" content="text/html; charset=utf-8">

原始制作者信息
<meta name="author" content="52css@jb51.net"> 

網(wǎng)站簡(jiǎn)介
<meta name="description" content="這里填您網(wǎng)站的簡(jiǎn)介"> 

搜索關(guān)鍵字
<meta name="keywords" content="關(guān)鍵字1,關(guān)鍵字2,關(guān)鍵字3,...">  

網(wǎng)頁(yè)的css規(guī)范
<link href="style/style.css" rel="stylesheet" type="text/css"> 

網(wǎng)頁(yè)標(biāo)題
<title>這里是你的網(wǎng)頁(yè)標(biāo)題</title> 

head區(qū)可選加入的標(biāo)識(shí)有: 

設(shè)定網(wǎng)頁(yè)的到期時(shí)間。一旦網(wǎng)頁(yè)過期,必須到服務(wù)器上重新調(diào)閱。
<meta http-equiv="expires" content="wed, 26 feb 1997 08:21:57 gmt"> 

禁止瀏覽器從本地機(jī)的緩存中調(diào)閱頁(yè)面內(nèi)容。
<meta http-equiv="pragma" content="no-cache">  

用來防止別人在框架里調(diào)用你的頁(yè)面。
<meta http-equiv="window-target" content="_top"> 

自動(dòng)跳轉(zhuǎn)(5指時(shí)間停留5秒)。
<meta http-equiv="refresh" content="5;url=chabaoo.cn">

網(wǎng)頁(yè)搜索機(jī)器人向?qū)?用來告訴搜索機(jī)器人哪些頁(yè)面需要索引,哪些頁(yè)面不需要索引。
<meta name="robots" content="none">
content的參數(shù)有all,none,index,noindex,follow,nofollow。默認(rèn)是all。 

收藏夾圖標(biāo)
<link rel = "shortcut icon" href="favicon.ico"> 

如果您還有什么知識(shí)需要補(bǔ)充,歡迎在jb51.net發(fā)表評(píng)論。

相關(guān)文章

最新評(píng)論