為什么點運行結(jié)果顯示空白
<!DOCTYPE HTML>
<html>
? ? <head>
? ? ? ? <meta http-equiv="Content-Type" content="text/html; charset=gb18030">
? ? ? ? <title>插入js代碼</title>
? ? <script type="text/javascript"> ? ?
? ? ? ? document.write("開啟JS之旅!");
? ? </script>
? ? </head>
? ? <body>
? ? </body>
</html>
我也是有點HTML基礎(chǔ)的,我覺得代碼沒錯啊。。。
2019-08-26
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>插入js代碼</title>
<script type="text/javascript">? ??
? ? ? ? document.write("開啟JS之旅!");
? ? </script>
</head>
<body>
</body>
</html>
2019-01-09
我運行了,這代碼沒錯
2019-01-03
換個瀏覽器試試
2018-10-26
charset=gb18030? 改成charset=utf-8 試試
2018-09-08
直接點擊提交試試,觸發(fā)代碼運行