头部<head></head>
作用:定义当前html页面的信息:
<meta>定义当前html页面的编码格式(必须与页面格式一致,另存为那里,页面下方)
html4 没有,自己写:<http-equiv=‘content-type' content='text/html; charset=''utf-8> html5:<meta charset='utf-8'>
<meta>定义当前html页面的关键字<meta name='keyword' content='html, css, xml, '>
<meta>定义当前html页面的描述--简短说明当前html作用 <meta name='description' content='free web tutorials on html and css>
中文描述很难简短
<meta>定义当前html页面的作者,每30s刷新页面
<meta> 元元素/元数据
<title></title>定义当前页面,就是浏览器最上面的,ex:百度一下,你就知道
css <style></style> 样式
<link> 引入外部元素-引入外部css
JS <script></script> 脚本
<noscript></noscript> 不支持脚本--如果浏览器不支持脚本,显示该元素的文本内容,现在很少用,基本支持