首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

html中文显示乱码,该怎么处理

2012-02-06 
html中文显示乱码!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtm

html中文显示乱码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
  <title>Beautiful Background Image Navigation with jQuery</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="description" content="Beautiful Background Image Navigation with jQuery" />
  <meta name="keywords" content="jquery, background image, animate, menu, navigation, css3, cross-browser compatible"/>
  <link rel="stylesheet" href="css/style.css" type="text/css" media="screen"/>
  </head>
  <body>
  </body>
</html>
把<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>改成<meta http-equiv= "Content-Type " content= "text/html; charset=GB2312 "> 也不行。

[解决办法]
楼主要是还乱码,那就是文件格式问题了。

用编辑器改下文件编码格式,比如用Dreamweaver改下文件格式
[解决办法]
显示的是什么样子的呢
[解决办法]
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

热点排行