input


index.html

<script> 
   function myOnClick()
</script>

<form>
   <input type="button" value="" onclick="myOnClick">
   </input>
</form>

<input type="submit" value="submit button" onClick="" /> 

The 'value' is displayed as its label inside the button
This has the pre-defined action of submitting the <form> it belongs to when pressed


<input type="reset" value="reset button"/> 

This has the pre-defined action of resetting all the form fields to their initial values



<input type="text" id="myTextBox"/> 
<input type="text" name="fullname"/>

<input type="checkbox" name="checkbox1" /> 
<input type="radio" name="radiobutton1" />

<input type="password" id="myTextBox"/> 

<input type="image" src="images/logo.png" /> 

<input type="file" name="fileupload" accept="image/*" /> 


© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext