新聞動態(tài)

位置:首頁 新聞動態(tài) 常見問題

瀏覽器內(nèi)核控制META標簽 說明文檔

新聞動態(tài)
2020年01月27日 閱讀:2844次

代碼示例

在head標簽中添加一行代碼:

<html>

  <head>

    <meta name="renderer" content="webkit|ie-comp|ie-stand">

  </head>

  <body>

  </body>

</html>

各渲染內(nèi)核的技術細節(jié)

內(nèi)核

Webkit

IE兼容

IE標準

文檔模式

Chrome 21

IE6/7

IE9/IE10/IE11(取決于用戶的IE)

HTML5支持

YES

NO

YES

ActiveX控件支持

NO

YES

YES

 

<META name="keywords" content="關鍵字"> 

<meta name="description" content="描述"> 

<meta name="author" content="作者"> 

<meta name="build" content="日期"> 

<meta name="coprright" content="版權"> 

<meta name="reply-to" content="email"> 

<meta name="robots" content="all"> 

原文鏈接:https://blog.csdn.net/xiongchao2011/article/details/7038627

 

META標簽。

1,<meta name="Robots" contect="all|none|index|noindex|follow|nofollow">  默認是all

其中的屬性說明如下: 

設定為all:文件將被檢索,且頁面上的鏈接可以被查詢; 

設定為none:文件將不被檢索,且頁面上的鏈接不可以被查詢; 

設定為index:文件將被檢索; 

設定為follow:頁面上的鏈接可以被查詢; 

設定為noindex:文件將不被檢索,但頁面上的鏈接可以被查詢; 

設定為nofollow:文件將不被檢索,頁面上的鏈接可以被查詢。 

 

 

Page-Enter、Page-Exit (進入與退出) 

說明:這個是頁面被載入和調(diào)出時的一些特效。 

用法:<Meta http-equiv="Page-Enter" Content="blendTrans(Duration=0.5)"> 

<Meta http-equiv="Page-Exit" Content="blendTrans(Duration=0.5)"> 

注意:blendTrans是動態(tài)濾鏡的一種,產(chǎn)生漸隱效果。另一種動態(tài)濾鏡RevealTrans也可以用于頁面進入與退出效果: 

<Meta http-equiv="Page-Enter" Content="revealTrans(duration=x, transition=y)"> 

<Meta http-equiv="Page-Exit" Content="revealTrans(duration=x, transition=y)"> 

Duration 表示濾鏡特效的持續(xù)時間(單位:秒) 

Transition 濾鏡類型。表示使用哪種特效,取值為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種隨機選擇一種 

 

上一篇

下一篇