比较常用的
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">
时间:2024-09-18 07:48:43
比较常用的
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">
html meta标签‘http-equiv’属性的详解用法
2021-10-16
meta标签中的http-equiv属性使用介绍【HTML】
2024-06-27