欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!
您的位置:DIVCSS5首页 > HTML >

 图像按钮: 把index---indexDo页面上进行处理

type="image" 图像提交按钮

 src="imgs/1.jpg" 图像的url  遵循路径规则

提交按钮:

type="submit"  提交按钮

value="提交"    按钮上的文字  默认值

重置按钮: 把同一个from中的元素,都还原成默认值

type="reset"  重置按钮

value="重置" 按钮上的字

普通按钮: 为其他语言提供服务的

type="button"   自定义按钮

value="点点看按钮上的字

 

案例代码:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>无标题文档</title>

</head>

 

<body>

<form action="indexDo.html" method="get">

      用户名<input type="text" name="uName"><br />

    密码<input type="password" name="uPwd"><br />

    <input type="image" src="imgs/1.jpg"> <br />

    <input type="submit" value="提交"><br />

    <input type="reset" value="重置"><br />

    <input type="button" value="点点看">

</form>

</body>

</html>

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/html/h14133.shtml

如对文章有任何疑问请提交到DIV CSS论坛,或有任何网页制作CSS问题立即到CSS论坛发贴求解 或 直接DIVCSS5网页顶部搜索遇到DIVCSS疑问。
CSS教程文章修订日期:2018-08-14 17:37 原创:DIVCSS5
本文www.divcss5.com DIVCSS5版权所有。