Switch to full style
HTML,DHTML,Javascript,XML,CSS
Post a reply

form-Radio-buttons-checkBoxs-actions-HTML-Tags

Fri Jun 29, 2007 12:35 am

How to create forms in general
with input text fields:

Code:
<form>
First name: 
<input type="text" name="firstname">
<
br>
Last name: 
<input type="text" name="lastname">
</
form>
 




Using Radio buttons :
Code:
<form>
<
input type="radio" name="sex" value="male"> Male
<br>
<
input type="radio" name="sex" value="female"> Female
</form> 


How to create checkBoxs
Code:
<form>
I have a bike:
<
input type="checkbox" name="vehicle" value="Bike" />
<
br />
I have a car: 
<input type="checkbox" name="vehicle" value="Car" />
<
br />
I have an airplane: 
<input type="checkbox" name="vehicle" value="Airplane" />
</
form> 



Forms with actions:
Code:
<form name="input" action="html_form_action.asp"
method="get">
Username: 
<input type="text" name="user">
<
input type="submit" value="Submit">
</
form> 




Post a reply
  Related Posts  to : form-Radio-buttons-checkBoxs-actions-HTML-Tags
 JSF Radio Buttons Form     -  
 HTML Tags -2     -  
 H1 H2 H3 H4 H4 H5 H6 heading html tags     -  
 How meta tags can be written in HTML     -  
 bold-heading-paragraph-HTML-Tags     -  
 unordered-ordered-Definition-list-HTML-Tags     -  
 HTML registration form example     -  
 HTML Form i made     -  
 cotact us html and javascript form     -  
 PHP HTML form with to file upload     -  

Topic Tags

HTML Form