JavaScript(1)

1.JavaScript可以直接写入HTML输出流中

document.write()

2.JavaScript对时间做出反应

<button type="button" onclick="alert('Welcome!')">点击这里</button>

onclick

alert

原文地址:https://www.cnblogs.com/zuoyou151/p/9450484.html