html 头标签
程序员文章站
2023-08-19 14:06:05
比较常用的 1. 网页出现乱码时设置字符集 2. 清缓存 3. 设置兼容模式下默认层级,解决很多页面IE7 混乱的问题。 ......
比较常用的
1. 网页出现乱码时设置字符集
<meta http-equiv="content-type" content="text/html; charset=gb2312">
2. 清缓存
<meta http-equiv="cache-control" content="no-cache">
3. 设置兼容模式下默认层级,解决很多页面ie7 混乱的问题。
<meta http-equiv="x-ua-compatible" content="ie=8">
比较常用的
1. 网页出现乱码时设置字符集
<meta http-equiv="content-type" content="text/html; charset=gb2312">
2. 清缓存
<meta http-equiv="cache-control" content="no-cache">
3. 设置兼容模式下默认层级,解决很多页面ie7 混乱的问题。
<meta http-equiv="x-ua-compatible" content="ie=8">