一 head内常用标签

1、meta相关

#1、指定字符集
<meta charset="gbk">

#2、页面描述
<meta name="Description" content="具体描述。。。">

#3、关键字:有助于搜索引擎SEC优化,再怎么优化也抵不过竞价排名
<meta name="Keywords" content="网易,邮箱,游戏,新闻">

#4、3秒后跳转
<meta http-equiv="refresh" content="3,http://www.baidu.com">
#5、三秒刷新
<meta http-equiv="refresh" content="3">

 

2、非meta标签

#1、标题
<title>百度一下,你就知道</title>

#2、网站的图标
<link rel="icon" href="https://www.baidu.com/favicon.ico">

#3、定义内部样式
<style></style>

#4、引入外部样式文件
<link rel="stylesheet" href="mystyle.css">

#5、定义JavaScript代码或引入JavaScript文件
<script src="hello.js"></script> 

 

相关文章:

  • 2021-12-22
  • 2021-09-25
  • 2021-11-23
  • 2021-11-23
  • 2022-12-23
  • 2021-06-20
猜你喜欢
  • 2022-01-20
  • 2022-02-09
  • 2022-12-23
  • 2021-08-02
  • 2021-07-26
  • 2021-08-30
  • 2021-11-23
相关资源
相似解决方案