创建按钮控件。
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!!!!')">
另见
作者或编者:布啦布啦 最近更新日期:2007-04-23 参考来源:www.BlaBla.cn 布啦布啦网页教程与代码© 2005-2008 BlaBla.cn 版权所有