日期:2014-05-17  浏览次数:20636 次

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">