首页 > Web开发 > 详细

网页出现“繁体字”?

时间:2017-05-18 00:38:02      阅读:367      评论:0      收藏:0      [点我收藏+]

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

技术分享

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

加下页面这一段代码。

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

 

网页出现“繁体字”?

原文:http://www.cnblogs.com/xiaobudong/p/6870235.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!