示例 1 :
重置按钮
<
form
action
=
"/study/login.jsp"
>
账号:<
input
type
=
"text"
name
=
"name"
> <
br
/>
密码:<
input
type
=
"password"
name
=
"password"
> <
br
/>
<
input
type
=
"submit"
value
=
"提交"
>
<
input
type
=
"reset"
value
=
"重置"
>
</
form
>
账号:
密码:
示例2:图像提交
<form action="/study/login.jsp">
账号:<input type="text" name="name"> <br/>
密码:<input type="password" name="password" > <br/>
<input type="image" src="http://how2j.cn/example.gif">
</form>
账号:
密码:
示例 3:
button里是文字
<button>按钮</button>
示例4:button里是图片
<button><img src="http://how2j.cn/example.gif"/></button>
时间: 2024-10-12 15:54:33