第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

document.write輸出?

document.write輸出?

黃森h(huán)uang 2016-10-28 09:05:54
document.write<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Math </title><script type="text/javascript">document.write(Math.floor(3.3)+ "<br>"+"無法顯示");document.write(Math.floor(-0.1)+ "<br>");document.write(Math.floor(-9.9)+ "<br>");document.write(Math.floor(8.9));</script></head><body></body></html>發(fā)現頁面不會出現結果,求大神指點哪里錯誤
查看完整描述

3 回答

已采納
?
李曉健

TA貢獻1036條經驗 獲得超461個贊

//后面的;是中文的
document.write(Math.floor(3.3)+?"<br>"+"無法顯示");
//后面的;是中文的
document.write(Math.floor(-0.1)+?"<br>");
//后面的;是中文的
document.write(Math.floor(-9.9)+?"<br>");
//后面的;是中文的
document.write(Math.floor(8.9));

寫代碼要細心

查看完整回答
1 反對 回復 2016-10-28
?
Anthonyxd

TA貢獻16條經驗 獲得超19個贊

標點符號,用英文

查看完整回答
1 反對 回復 2016-10-28
?
錯過了年華

TA貢獻56條經驗 獲得超22個贊

document.write(Math.floor(3.3)+?"<br>"+"無法顯示");???//這是你的代碼
document.write(Math.floor(3.3)+?"<br>"+"無法顯示");??//這才是正確的分號

要在英文輸入法下編寫代碼,仔細看,你自己試試就知道了

查看完整回答
反對 回復 2016-10-28
  • 3 回答
  • 0 關注
  • 1759 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號