标签:meta python refresh com 关键字 log pat href auto
ctrl+?:自动注释
head标签中包含的内容:
titile 标签
<link/>:搞图标
<link rel="shortcut icon" href="image/favicon.ico> # 指定图片的图标以及所在的位置。用的图片是image下的favicon图片。
<style/>
<script/>
<meta 编码,跳转,刷新,关键字,描述,IE兼容>
1. 做编码,自动刷新和跳转,但是看不到什么时候跳转。在头部也可以做跳转。但是一般不用,应急用。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="Refresh" Content="3">
<meta http-equiv="‘Refresh" Content="3:Url=http://www.autohome.com.cn">
<!--页面默认3S 刷新一次,跳转到指定的页面-->
<title>Title</title>
</head>
<body>
<div></div>
<a href="http://www.oldboyedu.com">老男孩</a>
</body>
</html>
2.关键词,给搜索引擎用的。就是搜哪些关键词能搜出来这个链接。
<meta name="keywords" content="高中 化学 全职 兼职 高考冲刺">
3.描述
例如:cnblogs
<meta name="description" content="高一 氧化还原反应 同步课程 期末冲刺辅导">
4.X-UA-Compatible: 指定兼容IE9
<meta http-equiv="X-UA-Compatible" content="IE=IE9;IE=IE8;"/>
标签:meta python refresh com 关键字 log pat href auto
原文地址:http://www.cnblogs.com/momo8238/p/7396143.html