首页客户案例高端网站建设SEO优化小程序APP开发抖音 X 获客网络营销关于动态联系咨询

分享常见的手机移动站meta标签

目前很多关键词的移动指数已经超过了pc指数,可见移动端发展神速,但是现在还是有很多网站还处于原生的pc端状态,移动端要么没有,要么很渣。有些连最基本的移动端的mate都没做好。 meta指元素可提供有关页面的元信息(meta-information),比如针对搜索引擎和更新频度的描述和关键词。 标签位于文档的头部,不包含任何内容。 标签的属性定义了与文档相关联的名称/值对。知道常见的手机移动站mate标签有的有哪些吗?

常见的手机移动站meta标签

<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">

强制让文档的宽度与设备的宽度保持1:1,并且文档最大的宽度比例是1.0,且不允许用户点击屏幕放大浏览;

width - viewport的宽度 height - viewport的高度    initial-scale - 初始的缩放比例   minimum-scale - 允许用户缩放到的最小比例    maximum-scale - 允许用户缩放到的最大比例   user-scalable - 用户是否可以手动缩放;

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

iphone设备中的safari私有meta标签,它表示:允许全屏模式浏览;

<meta content="black" name="apple-mobile-web-app-status-bar-style">

iphone的私有标签,它指定的iphone中safari顶端的状态条的样式;

在web app应用下状态条(屏幕顶部条)的颜色;默认值为default(白色),可以定为black(黑色)和black-translucent(灰色半透明)。注意:若值为“black-translucent”将会占据页面px位置,浮在页面上方(会覆盖页面20px高度–iphone4和itouch4的Retina屏幕为40px)。

<meta content="telephone=no" name="format-detection">

告诉设备忽略将页面中的数字识别为电话号码



我们再来看看互联网巨头们的移动站都是怎么出来mate标签的:


一、天猫
<title>天猫触屏版</title>

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

<meta charset="utf-8">

<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">

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

<meta content="black" name="apple-mobile-web-app-status-bar-style">

<meta content="telephone=no" name="format-detection">

二、淘宝
<title>淘宝网触屏版</title>

<meta charset="utf-8">

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

<meta content="yes" name="apple-touch-fullscreen">

<meta content="telephone=no" name="format-detection">

<meta content="black" name="apple-mobile-web-app-status-bar-style">

<meta property="wb:webmaster" content="c51923015ca19eb1">

<meta name="author" content="m.taobao.com">

<meta name="copyright" content="Copyright ©m.taobao.com 版权所有">

<meta name="revisit-after" content="1 days">

<meta name="keywords" content="">

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

三、京东
<title> 京东 - 手机版 </title>

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">

<meta name="format-detection" content="telephone=no">

<meta name="Keywords" content="手机购物,WAP商城,日用百货,3C家电,汽车用品">

<meta name="description" content="京东手机版提供了包括数码、家电、手机、电脑配件、网络产品、日用百货等数万种商品,手机快捷购物,就上京东手机版。">

四、网易
<title>手机网易网</title>

<meta charset="UTF-8">

<meta content="width=device-width,user-scalable=no" name="viewport">

<meta name="apple-itunes-app" content="app-id=425349261">

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

五、百度
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

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

<meta name="format-detection" content="telephone=no">


本文来源于广州网站建设公司与广州网站设计制作公司-广帆互动广州公司!

日期:2016年05月31日

标签: 广帆互动 、 广州微信网站设计 、 广州微商城开发 、 广州网站建设公司 、 广州网站建设

获取您的项目定制及优化报价。

* 为广州天河、白云、海珠、番禺、花都、南沙区提供网站建设服务。
微信二维码15876521776免费获取诊断报告