HTML input tag


<input name="" type="submit" value="Submit" />

Html form input control, type includes text field, submit button, checkbox, radio box.

name : reference name to identify the form control

Type = "text" : used to enter text content such as user name, password, etc.

Type = "submit" button control, used for submit, reset action

Type = "checkbox" : multi-select check box control for multiple-choice questions, multi-select function

Type = "radio" radio button, with single choice function


example

<form action="" method="get"> 
   <label>type="text"</label> 
   <input name="" type="text" size="22" /><br /> 
   <label>type="checkbox"</label> 
   <input name="" type="checkbox" value="" /><br /> 
   <label>type="radio"</label> 
   <input name="" type="radio" value="" /><br /> 
   <label>type="submit"</label> 
   <input name="" type="submit" value="Submit" /> 
</form> 






Copyright 2014-2017 by DeveloperTut.com. All Rights Reserved.
TwitterGoogle+Facebook