你知道一个小时不到写四篇乱七八糟的博客是多么的让人呕吐!不过还好,晚饭想来吃得少!html
上回咱们讲到一个简单的网页html文档的基本组成,OK,如今咱们来分部study下.我来肢解头部head.浏览器
虽然我不知道头部具体有些什么东西,巴特,机智的我瞬间打开百度页面审查元素看他们写了个啥?less
title,标题,发音不标准或者单词不会拼写的,看到这里请果断负分滚粗!!!字体
<title> 这里写什么,浏览器最上面就显示什么<title/> //do u understand?ui
meta,据悉99%的菜鸡基本上只会写下面这个鸟东西htm
<meta http-equiv="content-Type"content="text/html;charset=gb2312"> //设置字体集文档
真的是弱爆了啦,有木有。不少http-equiv="content-Type"都不会记得写上!!!博客
give you all a lesson!!it
there are two kinds of attributions ,one is 'http-equiv' the other is 'name';io
LOOK!!!!
<meta http-equiv = "refresh" content = "3;URL = www.caoliu.com"> //三秒钟后自动上草柳网有没有
<meta http-equiv="content-Type"content="text/html;charset=gb2312"> //来个简体汉字集
其实还有不少,下篇再见!!