for Submit Values in HTML (input type=”submit”)
Example : How to create various submit button in 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="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”)
Example : How to create reset/clear/clean button in 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="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>
for Button Values in HTML (input type=”button”/<button> — </button>)
Example : How to create various button in 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>

 3,591 total views,  1 views today

Categories: HTML

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.