for Submit Values in HTML (input type=”submit”)
<!doctype html>
<html>
<head>
<title>Codershelpline Code of Typical Html Page</title>
</head>
<body>
<form name="form1" id="form2" action="#" method="post">
<fieldset style="width: 600px; border-radius: 8px">
<table name="tab1" id="tab2">
<tr>
<td>Student Name</td>
<td>: </td>
<td><input type="text"></td>
</tr>
<tr>
<td></td>
<td></td>
<td><input type="submit" name="BtnSave1" id="BtnSave2" value="Save">
<input type="submit" name="Btnmodify1" id="Btnmodify2" value="Modify">
<input type="submit" name="Btndel1" id="Btndel2" value="Delete">
<input type="submit" name="Btnsearch1" id="Btnsearch2" value="Search">
</td>
</tr>
</table>
</fieldset>
</form>
</body>
</html>
for Reset/Clear/Clean Values in HTML (input type=”reset”)
<!doctype html>
<html>
<head>
<title>Codershelpline Code of Typical Html Page</title>
</head>
<body>
<form name="form1" id="form2" action="#" method="post">
<fieldset style="width: 600px; border-radius: 8px">
<table name="tab1" id="tab2">
<tr>
<td>Student Name</td>
<td>: </td>
<td><input type="text"></td>
</tr>
<tr>
<td></td>
<td></td>
<td><input type="submit" name="BtnSave1" id="BtnSave2" value="Save">
<input type="reset" name="Btnrst1" id="Btnrst2" value="Reset">
</td>
</tr>
</table>
</fieldset>
</form>
</body>
</html>
------------------------------
<html>
<head>
<title>ResetPage</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<form>
<input type="text" placeholder="User Name">
<input type="password" placeholder="Password">
<br><br>
<input type="Submit">
<input type="button" onclick="this.form.reset(); return true" value="Cancel">
</form>
</body>
</html>
<!doctype html>
<html>
<head>
<title>Codershelpline Code of Typical Html Page</title>
</head>
<body>
<form name="form1" id="form2" action="#" method="post">
<fieldset style="width: 600px; border-radius: 8px">
<table name="tab1" id="tab2">
<tr>
<td>Student Name</td>
<td>: </td>
<td><input type="text"></td>
</tr>
<tr>
<td></td>
<td></td>
<td><input type="button" name="BtnSave1" id="BtnSave2" value="Save">
<input type="button" name="Btnmodify1" id="Btnmodify2" value="Modify">
<input type="button" name="Btndel1" id="Btndel2" value="Delete">
<input type="button" name="Btnsearch1" id="Btnsearch2" value="Search">
</td>
</tr>
</table>
</fieldset>
</form>
</body>
</html>
0 Comments