為何 "按鈕"內的文字顯示不出來 就是個空白按鈕 而且按鈕很小
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系好安全帶,準備啟航</title>
<!--引入外部文件的方式-->
<script type="text/javascript">
??? document.write("系好安全帶,準備啟航--目標JS"+"<br>")
??? function hanshu()
{
??? var score=confirm("請點擊我 準備好了嗎?");
??? if (score==true)
??? {
??????? document.write("準備好起航吧");
??? }
??? else{
???????? document.write("重新學習");
???????????? }
}
</script>
</head>
<body>
??? <input type="button" value"請點擊我" onclick="hanshu()"> </input>
</body>
</html>
2020-03-06
<input type="button" value"請點擊我" onclick="hanshu()"> </input>
↓
value = "巴拉巴拉"