茄子在线看片免费人成视频,午夜福利精品a在线观看,国产高清自产拍在线观看,久久综合久久狠狠综合

    <s id="ddbnn"></s>
  • <sub id="ddbnn"><ol id="ddbnn"></ol></sub>

  • <legend id="ddbnn"></legend><s id="ddbnn"></s>

    基于HTML5的齒輪動(dòng)畫(huà)特效
    來(lái)源:易賢網(wǎng) 閱讀:1556 次 日期:2016-07-07 14:05:19
    溫馨提示:易賢網(wǎng)小編為您整理了“基于HTML5的齒輪動(dòng)畫(huà)特效”,方便廣大網(wǎng)友查閱!

    meta屬性在HTML中占據(jù)了很重要的位置。如:針對(duì)搜索引擎的SEO,文檔的字符編碼,設(shè)置刷新緩存等。雖然一些網(wǎng)頁(yè)可能沒(méi)有使用meta,但是作為正規(guī)軍,我們還是有必要了解一些meta的屬性,并且能夠熟練使用它們。

    1、聲明文檔使用的字符編碼

    XML/HTML Code

    <meta charset='utf-8'>  

    2、聲明文檔的兼容模式

    XML/HTML Code

    <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 指示IE以目前可用的最高模式顯示內(nèi)容   

    <meta http-equiv="X-UA-Compatible" content="IE=Emulate IE7" />指示IE使用 <!DOCTYPE> 指令確定如何呈現(xiàn)內(nèi)容。標(biāo)準(zhǔn)模式指令以IE7 標(biāo)準(zhǔn)模式顯示,而 Quirks 模式指令以 IE5 模式顯示。   

    3、SEO 優(yōu)化

    XML/HTML Code

    <meta name="description" content="不超過(guò)150個(gè)字符" />頁(yè)面描述   

    <meta name="keywords" content="html5, css3, 關(guān)鍵字"/>頁(yè)面關(guān)鍵詞   

    <meta name="author" content="魔法小棧" />定義網(wǎng)頁(yè)作者   

    <meta name="robots" content="index,follow" />定義網(wǎng)頁(yè)搜索引擎索引方式,robotterms是一組使用英文逗號(hào)「,」分割的值,通常有如下幾種取值:none,noindex,nofollow,all,index和follow。   

    4、為移動(dòng)設(shè)備添加 viewport

    XML/HTML Code

    <meta name ="viewport" content ="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">  

        content 參數(shù)解釋:   

        width       viewport 寬度(數(shù)值/device-width)   

        height            viewport 高度(數(shù)值/device-height)   

        initial-scale  初始縮放比例   

        maximum-scale  最大縮放比例   

        minimum-scale  最小縮放比例   

        user-scalable  是否允許用戶縮放(yes/no)   

        minimal-ui      iOS 7.1 beta 2 中新增屬性,可以在頁(yè)面加載時(shí)最小化上下?tīng)顟B(tài)欄。這是一個(gè)布爾值,可以直接這樣寫(xiě):   

    <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">  

    5、iOS 設(shè)備

    XML/HTML Code

    <meta name="apple-mobile-web-app-title" content="標(biāo)題">添加到主屏后的標(biāo)題(iOS 6 新增)   

    <meta name="apple-mobile-web-app-capable" content="yes" />是否啟用 WebApp 全屏模式   

    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />設(shè)置狀態(tài)欄的背景顏色   

        只有在 "apple-mobile-web-app-capable" content="yes" 時(shí)生效   

        content 參數(shù):   

        default 默認(rèn)值。   

        black 狀態(tài)欄背景是黑色。   

        black-translucent 狀態(tài)欄背景是黑色半透明。   

        設(shè)置為 default 或 black ,網(wǎng)頁(yè)內(nèi)容從狀態(tài)欄底部開(kāi)始。   

        設(shè)置為 black-translucent ,網(wǎng)頁(yè)內(nèi)容充滿整個(gè)屏幕,頂部會(huì)被狀態(tài)欄遮擋。   

    6、iOS 圖標(biāo) rel 參數(shù)

    XML/HTML Code

    apple-touch-icon 圖片自動(dòng)處理成圓角和高光等效果。   

    apple-touch-icon-precomposed 禁止系統(tǒng)自動(dòng)添加效果,直接顯示設(shè)計(jì)原圖。   

    <link rel="apple-touch-icon-precomposed" href="/apple-touch-icon-57x57-precomposed.png" />iPhone 和 iTouch,默認(rèn) 57x57 像素,必須有   

    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/apple-touch-icon-72x72-precomposed.png" />iPad,72x72 像素,可以沒(méi)有,但推薦有   

    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-114x114-precomposed.png" />Retina iPhone 和 Retina iTouch,114x114 像素,可以沒(méi)有,但推薦有   

    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144x144-precomposed.png" />Retina iPad,144x144 像素,可以沒(méi)有,推薦大家使用   

    <meta name="apple-mobile-web-app-title" content="標(biāo)題">title最好限制在六個(gè)中文長(zhǎng)度內(nèi),超長(zhǎng)的內(nèi)容會(huì)被隱藏,添加到主屏后的標(biāo)題(iOS 6 新增)   

    7、iOS 啟動(dòng)畫(huà)面

    XML/HTML Code

    iPad 的啟動(dòng)畫(huà)面是不包括狀態(tài)欄區(qū)域的。   

    iPad 豎屏 768 x 1004(標(biāo)準(zhǔn)分辨率)   

    <link rel="apple-touch-startup-image" sizes="768x1004" href="/splash-screen-768x1004.png" />iPad 豎屏 1536x2008(Retina)   

    <link rel="apple-touch-startup-image" sizes="1536x2008" href="/splash-screen-1536x2008.png" />iPad 橫屏 1024x748(標(biāo)準(zhǔn)分辨率)   

    <link rel="apple-touch-startup-image" sizes="1024x748" href="/Default-Portrait-1024x748.png" />iPad 橫屏 2048x1496(Retina)   

    <link rel="apple-touch-startup-image" sizes="2048x1496" href="/splash-screen-2048x1496.png" />  

    iPhone 和 iPod touch 的啟動(dòng)畫(huà)面是包含狀態(tài)欄區(qū)域的。   

    iPhone/iPod Touch 豎屏 320x480 (標(biāo)準(zhǔn)分辨率)   

    <link rel="apple-touch-startup-image" href="/splash-screen-320x480.png" />iPhone/iPod Touch 豎屏 640x960 (Retina)   

    <link rel="apple-touch-startup-image" sizes="640x960" href="/splash-screen-640x960.png" />iPhone 5/iPod Touch 5 豎屏 640x1136 (Retina)   

    <link rel="apple-touch-startup-image" sizes="640x1136" href="/splash-screen-640x1136.png" />  

    <link rel="apple-touch-startup-image" href="Startup.png" />  當(dāng)用戶點(diǎn)擊主屏圖標(biāo)打開(kāi) WebApp 時(shí),系統(tǒng)會(huì)展示啟動(dòng)畫(huà)面,在未設(shè)置情況下系統(tǒng)會(huì)默認(rèn)顯示該網(wǎng)站的首頁(yè)截圖,當(dāng)然這個(gè)體驗(yàn)不是很好   

    8、Windows 8

    XML/HTML Code

    <meta name="msapplication-TileColor" content="#000"/> Windows 8 磁貼顏色   

    <meta name="msapplication-TileImage" content="icon.png"/>Windows 8 磁貼圖標(biāo)   

    9、不常用的

    XML/HTML Code

    <link rel="alternate" type="application/rss+xml" title="RSS" href="/rss.xml" />添加 RSS 訂閱   

    <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />添加 favicon icon   

    <meta name="format-detection" content="telephone=no" />禁止數(shù)字識(shí)自動(dòng)別為電話號(hào)碼   

    <meta name="format-detection" content="email=no" />不讓android識(shí)別郵箱   

    <meta name="renderer" content="webkit">啟用360瀏覽器的極速模式(webkit)   

    <meta http-equiv="X-UA-Compatible" content="IE=edge">避免IE使用兼容模式   

    <meta name="HandheldFriendly" content="true">針對(duì)手持設(shè)備優(yōu)化,主要是針對(duì)一些老的不識(shí)別viewport的瀏覽器,比如黑莓   

    <meta name="MobileOptimized" content="320">微軟的老式瀏覽器   

    <meta name="x5-orientation" content="portrait">QQ強(qiáng)制豎屏   

    <meta name="full-screen" content="yes">UC強(qiáng)制全屏   

    <meta name="x5-fullscreen" content="true">QQ強(qiáng)制全屏   

    <meta name="browsermode" content="application">UC應(yīng)用模式   

    <meta name="x5-page-mode" content="app">QQ應(yīng)用模式   

    <meta http-equiv="Cache-Control" content="no-siteapp" />禁止百度轉(zhuǎn)碼   

    <meta name="msapplication-tap-highlight" content="no">windows phone 點(diǎn)擊無(wú)高光   

    <meta name="keywords" content="" />  關(guān)鍵字   

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

    <meta name="title" content="" />  標(biāo)題   

    <meta name="author" content="-06" />  作者   

    <meta name="Copyright" content="" />  公司   

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">   讓IE瀏覽器用最高級(jí)內(nèi)核渲染頁(yè)面 還有用 Chrome 框架的頁(yè)面用webkit 內(nèi)核    

    <meta name="apple-mobile-web-app-capable" content="yes">  IOS6全屏   

    <meta name="mobile-web-app-capable" content="yes">  Chrome高版本全屏   

    <meta name="renderer" content="webkit">  讓360雙核瀏覽器用webkit內(nèi)核渲染頁(yè)面   

    <meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL"> 添加智能 App 廣告條 Smart App Banner(iOS 6+ Safari)   

    10、sns 社交標(biāo)簽

    XML/HTML Code

    <meta property="og:type" content="類型" />  

    <meta property="og:url" content="URL地址" />  

    <meta property="og:title" content="標(biāo)題" />  

    <meta property="og:image" content="圖片" />  

    <meta property="og:description" content="描述" />  

    11、條件注釋判斷IE瀏覽器

    XML/HTML Code

    <!--[if IE]>條件注釋區(qū)分非IE瀏覽器   

    <!--[if lt IE 7 ]><html class="oldie ie ie6"> <![endif]-->     

    <!--[if IE 7 ]><html class="oldie ie ie7"> <![endif]-->     

    <!--[if IE 8 ]><html class="ie ie8"> <![endif]-->     

    <!--[if (gte IE 9)|!(IE)]><!--><html> <!--<![endif]-->    

    以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助。

    更多信息請(qǐng)查看網(wǎng)頁(yè)制作
    易賢網(wǎng)手機(jī)網(wǎng)站地址:基于HTML5的齒輪動(dòng)畫(huà)特效
    由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復(fù)僅供參考,敬請(qǐng)考生以權(quán)威部門(mén)公布的正式信息和咨詢?yōu)闇?zhǔn)!
    相關(guān)閱讀網(wǎng)頁(yè)制作

    2026國(guó)考·省考課程試聽(tīng)報(bào)名

    • 報(bào)班類型
    • 姓名
    • 手機(jī)號(hào)
    • 驗(yàn)證碼
    關(guān)于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡(jiǎn)要咨詢 | 簡(jiǎn)要咨詢須知 | 新媒體/短視頻平臺(tái) | 手機(jī)站點(diǎn) | 投訴建議
    工業(yè)和信息化部備案號(hào):滇ICP備2023014141號(hào)-1 云南省教育廳備案號(hào):云教ICP備0901021 滇公網(wǎng)安備53010202001879號(hào) 人力資源服務(wù)許可證:(云)人服證字(2023)第0102001523號(hào)
    云南網(wǎng)警備案專用圖標(biāo)
    聯(lián)系電話:0871-65099533/13759567129 獲取招聘考試信息及咨詢關(guān)注公眾號(hào):hfpxwx
    咨詢QQ:1093837350(9:00—18:00)版權(quán)所有:易賢網(wǎng)
    云南網(wǎng)警報(bào)警專用圖標(biāo)