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