網頁出現“繁體字”?


有的同學問,為啥我的網頁出現了繁體字呢?

我的神啊,這是網頁亂碼了呀????

加下頁面這一段代碼。

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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM