head 里主要的标签:meta和link 标签

目前为止head标签里只有 meta标签和link标签 十分简单
<head> <meta http-equiv="content-type" charset="UTF-8">//要用utf8必备的完整语句 <title>Title</title> <meta name="keywords" content="达内,达内培训,达内公司,达内网站"> //网页输入文字就可以导航至该网站 <meta name="description" content="达内是一家优秀的企业" > //网站的简要描述 <meta http-equiv="Refresh" content="=2;URL=https://www.baidu.com"> //2秒之后刷新跳转到指定的百度页面,不加url也可以,定时刷新 <meta http-equiv="content-type" charset="UTF-8"> //要用utf8必备的完整语句 <meta http-equiv="X-UA-Compatiable" content="IE=EmulateIE7"> //compatiable兼容标签,表示兼容ie7 </head>

meta标签在head里

link标签

<link rel="icon" href="https://www.baidu.com">

猜你喜欢

转载自www.cnblogs.com/wfl9310/p/9139694.html