<label id="2a06w"><tt id="2a06w"></tt></label><label id="2a06w"><tt id="2a06w"><em id="2a06w"></em></tt></label><menu id="2a06w"></menu>
  • <dfn id="2a06w"><var id="2a06w"><label id="2a06w"></label></var></dfn>
    <sup id="2a06w"><button id="2a06w"><em id="2a06w"></em></button></sup>
    <dfn id="2a06w"><var id="2a06w"></var></dfn>
    <dfn id="2a06w"></dfn>
  • <dfn id="2a06w"><code id="2a06w"><ins id="2a06w"></ins></code></dfn>
  • <small id="2a06w"><samp id="2a06w"></samp></small>
  • <dfn id="2a06w"><table id="2a06w"><center id="2a06w"></center></table></dfn>
    <label id="2a06w"><tt id="2a06w"><em id="2a06w"></em></tt></label>
    <strike id="2a06w"><form id="2a06w"></form></strike>
    <menu id="2a06w"><tt id="2a06w"></tt></menu>

    將想法與焦點(diǎn)和您一起共享

    網(wǎng)站建設(shè)中meat標(biāo)簽運(yùn)用發(fā)布者:本站     時(shí)間:2020-04-11 11:04:00

    META標(biāo)簽,是HTML語(yǔ)言head區(qū)的一個(gè)輔助性標(biāo)簽。在幾乎所有的page里,我們都可以看到類似下面這段html代碼:

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">

    </head>

    這就是meta標(biāo)簽的典型運(yùn)用。根據(jù)HTML語(yǔ)言標(biāo)準(zhǔn)注釋:meta標(biāo)簽是對(duì)網(wǎng)站發(fā)展非常重要的標(biāo)簽,它可以用于鑒別作者,設(shè)定頁(yè)面格式,標(biāo)注內(nèi)容提要和關(guān)鍵字,以及刷新頁(yè)面等等。

    meta標(biāo)簽分兩大部分:HTTP-EQUIV和NAME變量。HTTP-EQUIV類似于HTTP的頭部協(xié)議,它回應(yīng)給瀏覽器一些有用的信息,以幫助正確和精確地顯示網(wǎng)頁(yè)內(nèi)容。
    最常用的幾個(gè):

    1、refresh(刷新)

    說(shuō)明:需要定時(shí)讓網(wǎng)頁(yè)自動(dòng)鏈接到其它網(wǎng)頁(yè)的話,就用這句了。

    用法:

    <META HTTP-EQUIV="Refresh" CONTENT="5;URL=http://www.yahoo.com">

    注意:其中的5是指停留5秒鐘后自動(dòng)刷新到URL網(wǎng)址。
    2、content-Type(顯示字符集的設(shè)定)

    說(shuō)明:設(shè)定頁(yè)面使用的字符集。

    用法:

    <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 

    說(shuō)明此網(wǎng)頁(yè)是用GB2312字符編碼。

    meat標(biāo)簽的NAME變量語(yǔ)法格式是:

    <META NAME="xxx" CONTENT="xxxxxxxxx"> 
    其中xxx主要有下面幾種參數(shù):

    1、Keywords(關(guān)鍵字)

    說(shuō)明:keywords用來(lái)告訴搜索引擎你網(wǎng)頁(yè)的關(guān)鍵字是什么。

    舉例:

    <META NAME ="keywords" CONTENT="life,universe,mankind,plants,

    relationships,the meaning of life,science"> 

    2、description(簡(jiǎn)介)

    說(shuō)明:description用來(lái)告訴搜索引擎你的網(wǎng)站主要內(nèi)容。

    舉例:

    <META NAME="description" CONTENT="This page is about the meaning of 

    life,the universe,mankind and plants."> 

    3、robots(機(jī)器人向?qū)?

    說(shuō)明:robots用來(lái)告訴搜索機(jī)器人哪些頁(yè)面需要索引,哪些頁(yè)面不需要索引。CONTENT的參數(shù)有all,none,index,noindex,follow,nofollow。默認(rèn)是all。

    舉例:

    <META NAME="robots" CONTENT="none">

    4、author(作者)

    說(shuō)明:標(biāo)注網(wǎng)頁(yè)的作者

    舉例:

    <META name="AUTHOR" content="ajie,ajie@netease.com">

    Keywords和description的設(shè)定:

    在meta標(biāo)簽中最重要的就是:Keywords和description的設(shè)定。這兩個(gè)語(yǔ)句可以讓搜索引擎能準(zhǔn)確的發(fā)現(xiàn)我們的網(wǎng)站,吸引更多的人來(lái)訪問(wèn)站點(diǎn)!所以,我們必須記住添加keywords和description的meta標(biāo)簽,并盡可能寫好關(guān)鍵字和簡(jiǎn)介。
    寫keywords的禁忌是:

    1、要用常見(jiàn)詞匯。例如www,homepage,net,web等。

    2、不要用形容詞,副詞。例如最好的,最大的等。

    3、不要用籠統(tǒng)的詞匯,要盡量精確。例如不用"摩托羅拉手機(jī)",改用"V998"等

    這里,是一段微軟多媒體網(wǎng)站的關(guān)鍵字的例子:

    <meta name="keywords" content="joke,music,MP3,media,audio,joke of the day,downloads,free music,horoscope,radio,video,music downloads,movies,radio station,media player,free,download,weather,horoscopes,windows media technologies,online,radio station guide,free download">



    選擇我們,優(yōu)質(zhì)服務(wù),不容錯(cuò)過(guò)
    1. 優(yōu)秀的網(wǎng)絡(luò)資源,強(qiáng)大的網(wǎng)站優(yōu)化技術(shù),穩(wěn)定的網(wǎng)站和速度保證
    2. 15年上海網(wǎng)站建設(shè)經(jīng)驗(yàn),優(yōu)秀的技術(shù)和設(shè)計(jì)水平,更放心
    3. 全程省心服務(wù),不必?fù)?dān)心自己不懂網(wǎng)絡(luò),更省心。
    ------------------------------------------------------------
    24小時(shí)聯(lián)系電話:021-58370032
    99人妻中文字幕视频在,亚洲无码视频在线免费看,久久国产乱子伦免费精品,日本中文字幕色视频网站
    <label id="2a06w"><tt id="2a06w"></tt></label><label id="2a06w"><tt id="2a06w"><em id="2a06w"></em></tt></label><menu id="2a06w"></menu>
  • <dfn id="2a06w"><var id="2a06w"><label id="2a06w"></label></var></dfn>
    <sup id="2a06w"><button id="2a06w"><em id="2a06w"></em></button></sup>
    <dfn id="2a06w"><var id="2a06w"></var></dfn>
    <dfn id="2a06w"></dfn>
  • <dfn id="2a06w"><code id="2a06w"><ins id="2a06w"></ins></code></dfn>
  • <small id="2a06w"><samp id="2a06w"></samp></small>
  • <dfn id="2a06w"><table id="2a06w"><center id="2a06w"></center></table></dfn>
    <label id="2a06w"><tt id="2a06w"><em id="2a06w"></em></tt></label>
    <strike id="2a06w"><form id="2a06w"></form></strike>
    <menu id="2a06w"><tt id="2a06w"></tt></menu>