有的同学问,为啥我的网页出现了繁体字呢?

网页出现“繁体字”?

我的神啊,这是网页乱码了呀????

加下页面这一段代码。

 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Lesson8.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <!--加下面这一段来给网页编码,如果utf-8不行,就用gb2312-->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style>
        input[type=text], textarea {
            border-radius: 3px;
            border: 1px solid red;
            height: 30px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <input type="text" />
    </form>
</body>
</html>

 

相关文章:

  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2021-11-07
  • 2021-12-19
  • 2021-11-11
猜你喜欢
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-03-13
  • 2022-12-23
相关资源
相似解决方案