html head标签内的标签用途

<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta property="qc:admins" content="241045133560547672165721747716" /> //这个貌似是qq云平台的口令之类的标记,不用管
<link rel="dns-prefetch" href="//static.hudongba.cn">//这个上一个篇文章介绍过了,html5的新特性
<link rel="dns-prefetch" href="//img1.hudongba.cn">
<link rel="dns-prefetch" href="//img2.hudongba.cn">
<title></title>
<meta name="keywords" content="互动平台、评论、投票、彩票投票"/>//关键字,搜索机器人用的
<meta name="description" content="互动平台"/>  //一个描述,告诉搜索隐形这个网页的大体内容,一个概括
<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 http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />//ie8 专用标签,用ie7来渲染,这里可以设置其他的如chroms=1 ,用google的webkit来渲染
<link rel="apple-touch-icon" href="http://img1.hudongba.cn/images/icon_72x72.png" /> //苹果的ipad itouch设置有设置桌面快捷的功能,是桌面的图标
<link rel="icon" type="image/x-icon" href="/favicon.ico" size="16x16 32x32"/>//shortcut icon,特指浏览器中地址栏左侧显示的图标,一般大小为16x16,后缀名为.icon;
//icon,指的是图标,格式可为PNG\GIF\JPEG,尺寸一般为16x16、24x24、36x36等。
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="http://static.hudongba.cn/static/style1405253.css"/>

上面很多标签,都是干什么的呢?

今天百度一下,知道了这些在网页中常见的标签的用途,获益匪浅。



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值