News and Announcements

Click here to visit the news and announcements section. It contains all information on contests, maintenance updates and more. Regular members of the forum may not post new topics here, but may reply to existing ones.

Username:
Password:
Stay logged in:


Lost your password?
HTML Form

Extreme Coding


 
HomeFAQSearchRulesStaff ListMemberlistUsergroupsRegisterLog in

Share | 
 

 HTML Form

View previous topic View next topic Go down 
AuthorMessage


avatar


McStormify

Administrator

Posts : 75
Tokens : 87

PostSubject: HTML Form   Thu Oct 28, 2010 12:49 pm


HTML Form
A form for your websites!




Hi there!

Today, I'm going to teach you how to make a HTML form. It is very easy to make a HTML form.

A simple form with the text area and Send Button:

Code:
<form method="post" action="mailto:emailaddress@host.com">
  <input type="text" name="body">
  <input type="submit" value="Send">
</form>

All you have to do is replace the "emailaddress@host.com" with your e-mail address.




There are three main tags in a HTML form. <input>, <select> and <textarea>. Here are the codes for various fields that may help with your HTML form!

Textbox

Code:
<input type="text" value="content" name="a name" size="25">

Text Area

Code:
<textarea name="a name" rows="6" cols="20"> </textarea>

Drop-Down Menu

Code:
<select size="1" name="menu">
  <option>no. 1</option>
  <option selected="selected">no. 2</option>
  <option>no. 3</option>
</select>

Hidden Field

Code:
<input type="hidden" name="hidden" value="something secret stands here">

Password

Code:
<input type="password" name="code" value="my password" size="10">

Radio Buttons

Code:
<input type="radio" name="radio field" value="no1">
<input type="radio" name="radio field" value="no2" checked="checked">

Check boxes

Code:
<input type="checkbox" name="check1" value="chosed">
<input type="checkbox" name="check2" value="chosed" checked="checked">

I hope this helps you to create your first HTML form!

Thanks guys. Smile


Notice : This tutorial is copyrighted by Extreme Coding. You may not publish it on anywhere without written permission from the administrators.
Back to top Go down
View user profile http://extremecoding.forumotion.com
 

HTML Form

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Extreme Coding :: Extreme Coding :: Tutorial Proposal-
Jump to:  


Forum create on Forumotion | © phpBB | Free forum support | Contact | Report an abuse | Free forum