开发者社区> 问答> 正文

这个html打开为什么是乱码啊?明明设置了编码

<!DOCTYPE html>
<html>
  <head>
    <title>1.html</title>
    
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

  </head>
  
  <body>
   <table class="table table-hover" id="tblSort">
                            <thead>
                                <tr>
                                <th onClick="sortTable('tblSort',0,'int')" style="cursor:pointer">时间</th>
                                 <th onClick="sortTable('tblSort',1,'int')" style="cursor:pointer">金额</th>
                                 <th onClick="sortTable('tblSort',2,'int')" style="cursor:pointer">人数</th>
                                    ………………
                                    
                                </tr>
                                </thead>
 </table>
  </body>
 
</html>

请输入代码

展开
收起
杨冬芳 2016-06-20 18:18:11 1935 0
1 条回答
写回答
取消 提交回答
  • IT从业

    用的是eclipse的话,右键该文件,properties--> resourse看一下编码格式

    2019-07-17 19:44:27
    赞同 展开评论 打赏
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
《零基础HTML入门教程》 立即下载
天猫 HTML5 互动技术实践 立即下载
天猫HTML5互动技术实践 立即下载