为了账号安全,请及时绑定邮箱和手机立即绑定

float 3-2编程练习,我的代码应该是没有问题的,但是所有中文现实的字都感觉乱码了,请问这是什么原因

float 3-2编程练习,我的代码应该是没有问题的,但是所有中文现实的字都感觉乱码了,请问这是什么原因

慕运维9018866 2018-01-17 21:14:32
<!DOCTYPE html><html lang="en"><head>    <style>        .per{            width:960px;            height:540px;        }        .div1{            width:300px;            height:250px;            border:10px white solid;            float:left;            text-align: center;        }        .div2{            width:300px;            height:250px;            border:10px white solid;            float:left;            text-align: center;        }        .div3{            width:300px;            height:250px;            border:10px white solid;            float:left;            text-align: center;        }        .div4{            width:300px;            height:250px;            border:10px white solid;            float:left;            text-align: center;        }        .div5{            width:300px;            height:250px;            border:10px white solid;            float:left;            text-align: center;        }        .div6 {            width: 300px;            height: 250px;            border:10px white solid;            float: left;            text-align: center;        }        .div11{            width: 300px;            height: 230px;            background-image: url("http://climg.mukewang.com/590fe9770001e63102400135.jpg");        }        .div12{            width: 300px;            height: 20px;        }        .div21{            width: 300px;            height: 230px;            background-image: url("http://climg.mukewang.com/590fe97d00011bda02400135.jpg");        }        .div22{            width: 300px;            height: 20px;        }        .div31{            width: 300px;            height: 230px;            background-image: url("http://climg.mukewang.com/590fe982000150ba02400135.jpg");        }        .div32{            width: 300px;            height: 20px;        }        .div41{            width: 300px;            height: 230px;            background-image: url("http://climg.mukewang.com/590fe9770001e63102400135.jpg");        }        .div42{            width: 300px;            height: 20px;        }        .div51{            width: 300px;            height: 230px;            background-image: url("http://climg.mukewang.com/590fe97d00011bda02400135.jpg");        }        .div52{            width: 300px;            height: 20px;        }        .div61{            width: 300px;            height: 230px;            background-image: url("http://climg.mukewang.com/590fe982000150ba02400135.jpg");        }        .div62{            width: 300px;            height: 20px;        }    </style></head><body><center><div class="per">    <div class="div1">        <div class="div11"></div>        <div class="div12">欢迎来到慕课网学习新知识</div>    </div>    <div class="div2">        <div class="div21"></div>        <div class="div22">欢迎来到慕课网学习新知识</div>    </div>    <div class="div3">        <div class="div31"></div>        <div class="div32">欢迎来到慕课网学习新知识</div>    </div>    <div class="div4">        <div class="div41"></div>        <div class="div42">欢迎来到慕课网学习新知识</div>    </div>    <div class="div5">        <div class="div51"></div>        <div class="div52">欢迎来到慕课网学习新知识</div>    </div>    <div class="div6">        <div class="div61"></div>        <div class="div62">欢迎来到慕课网学习新知识</div>    </div></div></center></body></html>
查看完整描述

1 回答

已采纳
?
QQ_随意

TA贡献51条经验 获得超28个赞

<head>
//加这句
<meta charset="utf-8">
</head>


查看完整回答
2 反对 回复 2018-01-17
  • 1 回答
  • 0 关注
  • 985 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信