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