創(chuàng )建按鈕控件。
Creates a button control.
INPUT type=button 元素在 Internet Explorer 3.0 及以上版本的 HTML 和腳本中可用。
此元素是一個(gè)內嵌元素。
此元素不需要關(guān)閉標簽。
The INPUT type=button element is available in HTML and script as of Internet Explorer 3.0.
This element is an inline element.
This element does not require a closing tag.
下面的例子使用 INPUT type=button 元素定義了響應點(diǎn)擊的按鈕。
This example uses the INPUT type=button element to define a button that responds appropriately when clicked.
<INPUT TYPE=button ID=btnEmergency VALUE="出現緊急情況時(shí)請按此鈕!" onClick="alert(‘Aaaaaaaggggghh!!!!‘)">
聯(lián)系客服