Home  >  Article  >  Web Front-end  >  Detailed explanation of Meta tag_Experience exchange

Detailed explanation of Meta tag_Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:09:241626browse

★HTTP-EQUIV
HTTP-EQUIV is similar to the header protocol of HTTP. It responds to the browser with some useful information to help display web page content correctly and accurately. Commonly used HTTP-EQUIV types are:


1. Content-Type and Content-Language (display character set settings)

Description: Set the character set used by the page, It is used to describe the text and language used in making the homepage. The browser will call the corresponding character set to display the page content based on this.

Usage:
 

Note: This META tag defines the character set used by the HTML page as GB2132, which is the national standard Chinese character code. If "charset=GB2312" is replaced with "BIG5", the character set used on this page is the Traditional Chinese Big5 code. When you browse some foreign sites, IE browser will prompt you that you need to download xx language support to display the page correctly. This function is to know which character set needs to be used to display the page by reading the Content-Type attribute of the META tag of the HTML page. If the corresponding character set is not installed in the system, IE will prompt for downloading. Other languages ​​also correspond to different charsets. For example, the Japanese character set is "iso-2022-jp" and the Korean character set is "ks_c_5601".
 
Content-Type can also be: text/xml and other document types;
Charset options: ISO-8859-1 (English), BIG5, UTF-8, SHIFT-Jis, Euc, Koi8 -2. us-ascii, x-mac-roman, iso-8859-2, x-mac-ce, iso-2022-jp, x-sjis, x-euc-jp,euc-kr, iso-2022-kr , gb2312, gb_2312-80, x-euc-tw, x-cns11643-1, x-cns11643-2 and other character sets; the Content of Content-Language can also be: EN, FR and other language codes.

2. Refresh (Refresh)

Description: How long (seconds) does it take for the web page to refresh itself, or how long does it take for the web page to automatically link to other web pages.
Usage:

Note: The 5 means it will automatically refresh to the URL after staying for 5 seconds.

3. Expires (Period)

Description: Specify the expiration time of the web page in the cache. Once the web page expires, it must be retrieved from the server.
Usage:
Note: The time format of GMT must be used, or directly set to 0 (the number indicates how long it will take to expire).
4. Pragma (cach mode)

Description: Prohibits the browser from accessing page content from the cache of the local machine.
Usage:

Note: The web page is not saved in the cache, and the page is refreshed every time it is accessed. With this setting, visitors will not be able to browse offline.
5. Set-Cookie (cookie setting)

Description: When the browser visits a page, it will be stored in the cache, and it can be read from the cache the next time it is visited again. , to increase speed. Disable caching when you want visitors to refresh your ad's icon every time, or refresh your counter every time. Usually there is no need to disable caching for HTML files. For pages such as ASP, you can disable caching, because every page you see is dynamically generated on the server, and caching is meaningless. If the web page expires, the saved cookies will be deleted.
Usage:
Note: GMT time format must be used.
6. Window-target (display window setting)

Description: Force the page to be displayed as an independent page in the current window.
Usage:

Note: This attribute is used to prevent others from calling your page in the frame. Content options: _blank, _top, _self, _parent.
7. Pics-label (webpage RSAC rating)
Description: There is a content setting in IE's Internet options that can prevent browsing of some restricted websites, and the restriction level of the website
Otherwise, it is set through this parameter.
Usage: "(PICS-1.1'http://www.rsac.org/ratingsv01.html'
I gen comment 'RSACi North America Sever' by 'inet@microsoft.com' for 'http://www.microsoft.com' on '1997.06.30T14:21-0500' r(n0 s0 v0 l0))">

Note: Don’t set the level too high. RSAC's evaluation system provides a standard for evaluating Web site content. Users can set Microsoft Internet Explorer (IE3.0 or above) to exclude sites containing pornographic and violent content. The HTML in the example above was taken from Microsoft's homepage. (n 0 s 0 v 0 l 0) in the code means that the site does not contain inappropriate content. The rating is determined by RSAC, the rating agency of the American Entertainment Council. If you want to know more about the rating content of the RSAC rating system, or if you need to rate your own website, you can visit the RSAC website: http://www.rsac .org/.

8. Page-Enter, Page-Exit (Enter and Exit)

Description: These are some special effects when the page is loaded and called out.
Usage:


Note: blendTrans is a type of dynamic filter that produces a fade effect.別の動的フィルターである RevealTrans も、ページの入口と出口の効果に使用できます:

) トランジション フィルター タイプ。どの特殊効果を使用するかを示します。値は 0 ~ 23 です。
0 長方形が縮小
1 長方形が拡大
2 円が縮小
3 円が拡大
4 下から上に更新
5 上から下に更新
6 左右に更新
7 右から左に更新
8 縦型ブラインド
9 横型ブラインド
10 オフセット横型ブラインド
11 オフセット縦型ブラインド
12 ポイント スプレッド
13 周囲中央へ更新
14 中央から左右へ更新
15 中央から上下へ
16 上下から中央へ
17 右下から左上へ
18 右上から左下へ
19 左上から右下
20 左下から右上
21 横棒
22 縦棒
23 上記22種類からランダムで1つ選択

9. MSThemeSupport (XP テーマ)
説明: IE テーマで xp をオフにするかどうか
使用法:

注: XP の青い 3 次元ボタン システム表示スタイルをオフにします。 win2k。

10. IE6 (ページジェネレーター)
説明: ページジェネレータージェネレーターは ie6 です 使用法:

注: 何で作られているかは製品のメーカーによって異なります。

11. Content-Script-Type (スクリプト関連)
説明: これは、ページ内のスクリプトのタイプを示す、最近の W3C 仕様です。 使用法:

注:

★NAME 変数
名前は Web ページを説明し、検索エンジン ロボットが容易にアクセスできるようにするコンテンツ (Web ページのコンテンツ) に対応します。検索と分類 (現在、ほとんどすべての検索エンジンはオンライン ロボットを使用して、Web ページを分類するためのメタ値を自動的に見つけます)。
name の値 (name="") は、提供される情報の種類を指定します。いくつかの値はすでに定義されています。たとえば、説明、キーワード、更新などです。また、creationdate (作成日)、
document ID (文書番号)、level (レベル) など、他の任意の値を指定することもできます。
name の内容は実際の内容を指定します。例: 値としてレベルを指定した場合、コンテンツは初級、中級、または上級になります。


1. キーワード (キーワード)
説明: 検索エンジンに提供されるキーワードのリスト
使用法:

注: 各キーワードの間にはカンマを使用します。 。 META の通常の使用法は、検索エンジンが検索品質を向上させるために使用するキーワードを指定することです。いくつかの META 要素がドキュメントの言語依存関係情報を提供する場合、検索エンジンは lang 属性を使用して、ユーザーの言語設定に基づいて検索結果をフィルタリングして表示します。例:


2. 説明 (はじめに) 説明: 説明は、Web サイトのメインコンテンツを検索エンジンに伝えるために使用されます。
使用法:
注:
3. ロボット (ロボット ガイド)
説明: ロボットは、インデックスを作成する必要があるページとインデックスを作成しないページを検索ロボットに指示するために使用されます。インデックスを作成する必要があります。 Content のパラメータには、all、none、index、noindex、follow、および nofollow が含まれます。デフォルトはすべてです。
使用法:

注: 多くの検索エンジンは、Web サイトへのログインにロボット/スパイダー検索を使用します。これらのロボット/スパイダーは、メタ要素のいくつかの特性を使用してログイン方法を決定します。

    all:文件將被檢索,且頁面上的連結可以被查詢;
    none:文件將不會被檢索,且頁面上的連結可以被查詢;(和 "noindex, no follow, no follow, no " 扮演相同角色)
    index:文件將被檢索;(讓robot/spider登入)
    follow:頁面上的連結可以被查詢;
 no  follow:頁面上的連結可以被查詢;
  no 連結可以被查詢;(不讓robot/spider登入)
   nofollow:檔案將不會被檢索,頁面上的連結可以被查詢。 (不讓robot/spider順著此頁的連接往下探找) 

  4、Author (作者)
   說明:標註網頁的作者或製作組用法:
   注意:Content可以是:你或你的製作組的名字,或Email 

  5、Copyright (版權)
   說明:標註版權
   用法:
   注意: 

  6、Generator (編輯器)
   說明:編輯器的說明
   用法:
『〜〜〜>你所注意7、revisit-after (重訪)
   說明:
   用法:

   㟜
  『  1 、scheme (方案)
   說明:scheme can be used when name is used to specify how the value of 用法:

   注意: 

  2、Link (連結)
   說明:連結到檔案
   用法:
   注意:很多網站如果你把她保存在收件夾中後,會發現它連連一個圖示,如果再次點擊進入之後還會發現網址列中也有個小圖示。現在只要在你的頁頭加上這段話,就能輕鬆實現這項功能。
 用來將目前文件與其它 URL 作連結,但不會有連結按鈕,用於 
 標記間, 格式如下: 
       
       
3、Base (基底連結)
   說明:插入網頁基連結屬性   用法:


   :你網頁上的所有相對路徑在連結時都將在前面加上「http:/你網頁上的所有相對路徑在連結時都會在前面加上「http:/ /www.cn8cn.com/」。其中target="_blank"是連結檔案在新的視窗中打開,你可以做其他設定。將「_blank」改為「_parent」是連結檔案會在目前視窗的父級視窗中開啟;改為「_self」連結檔案在目前視窗(訊框)中開啟;改為「_top」連結檔案全螢幕顯示。
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn