Reset ไว้สาหรับการยกเลิกข้อมูลทั้งหมดในฟอร์ม
nameกาหนดชื่อ
valueกาหนดให้บราวเซอร์แสดงข้อความที่กาหนด
<input type = "reset" value="reset" />
ชนิดของ <input> เป็น Reset
<html>
<head>
<title>Using Reset Button</title>
</head>
<body>
<h2><center><font color="hotpink" face = "arial">Personal Information</font></center></h2>
<hr align = "center"/>
<form name= "form3_6" method= "get" action= "receiveValue.html">
<input type="text" name="txt1"/>
<input type="text" name="txt2"/>
<input type="submit"> <input type="reset" value="RESET BUTTON"/>
</form>
</body>
</html>
nameกาหนดชื่อ
valueกาหนดให้บราวเซอร์แสดงข้อความที่กาหนด
<input type = "reset" value="reset" />
ชนิดของ <input> เป็น Reset
<html>
<head>
<title>Using Reset Button</title>
</head>
<body>
<h2><center><font color="hotpink" face = "arial">Personal Information</font></center></h2>
<hr align = "center"/>
<form name= "form3_6" method= "get" action= "receiveValue.html">
<input type="text" name="txt1"/>
<input type="text" name="txt2"/>
<input type="submit"> <input type="reset" value="RESET BUTTON"/>
</form>
</body>
</html>
0 ความคิดเห็น:
แสดงความคิดเห็น