search

Home  >  Q&A  >  body text

写了一个html页面,出现了乱码的情况,要怎么解决?

<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
    中国
</body>
</html>


烟雨江南烟雨江南2983 days ago1226

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-09-30 22:51:41

    I wrote an html page and the code was garbled. How to solve it? -PHP Chinese website Q&A-I wrote an html page and the code was garbled. How to solve it? -PHP Chinese website Q&A

    Please watch and learn.

    reply
    0
  • 迷茫

    迷茫2016-12-19 09:55:29

    可以在头部标签内加<meta charset="utf-8">来设置编码的格式

    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        中国
    </body>
    </html>

    希望对你有用!

    reply
    0
  • Cancelreply