我用chrome浏览器打开下面的代码,页面有乱码出现,什么问题?
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获得年份 </title>
<script type="text/javascript">
var mydate=new Date();
/*var myyear=mydate.getFullYear() ;
document.write("年份:"+myyear);*/
document.write("时间:"+mydate);
</script>
</head>
<body>
</body>
</html>