在IE中顯示正常,谷歌和獵豹顯示亂碼
<!DOCTYPE?html> <html> <head> <meta?charset="utf-8"> <meta?http-equiv="X-UA-Compatible"?content="IE=edge"> <title></title> <link?rel="stylesheet"?href=""> </head> <script?type="text/javascript"?charset="utf-8"?async?defer> var?Udate?=?new?Date(); document.write(Udate+"<br>"); </script> <body> </body> </html>
2018-10-25
<
script
?type
=
"text/javascript"
?charset
=
"utf-8"
?async?defer>
可以解釋一下script中加這些干嘛嗎
2017-08-18
我覺得應(yīng)該是<script>標簽放的位置不太對吧,一般不是在<head>或者<body>內(nèi)部嗎?
2017-06-19
谷歌也顯示正常