创建按钮控件。
Creates a button control.
INPUT type=button 元素在 Internet Explorer 3.0 及以上版本的 HTML 和脚本中可用。
此元素是一个内嵌元素。
此元素不需要关闭标签。
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 元素定义了响应点击的按钮。
This example uses the INPUT type=button element to define a button that responds appropriately when clicked.
<INPUT TYPE=button ID=btnEmergency VALUE="出现紧急情况时请按此钮!" onClick="alert('Aaaaaaaggggghh!!!!')">