问答详情
源自:6-2 鼠标单击事件( onclick )
在HTML输出流中插入JavaScript需要用<script>,但是button为啥不需要呢?
直接在HTML中输入<button type="button">
提问者:付初学者晨
2016-12-12 18:56
个回答
Neo_嘟教授
2016-12-12 20:47:37
<button type="button"> 和 <input type="button">
其实是一样的,button是h5的新标签
1