You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 HTML Form on Sat Jun 30, 2012 12:13 pm


HTML Form

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:name@site.com">
  <input type="text" name="body">
  <input type="submit" value="Send">
</form>

All you have to do is replace the "name@site.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
<input type="hidden" name="hidden" value="something secret stands here">
Password
Code:
Password <input type="password" name="code" value="" size="10">
Radio Buttons
Code:
<input type="radio" name="radio field" value="no1"> Option 1
<input type="radio" name="radio field" value="no2" checked="checked"> Option 2
Check boxes
Code:
<input type="checkbox" name="check1" value="chosed"> Option 1
<input type="checkbox" name="check2" value="chosed" checked="checked"> Option 2

I hope this helps you to create your first HTML form!
DEMO: LINK
Notice : This tutorial is copyrighted by FreshArtz. You may not publish it on anywhere without written permission from the administrators.

View user profile http://freshartz2.indonesianforum.net/

2 Re: HTML Form on Sat Jun 30, 2012 12:19 pm

NvRDream Admin

avatar
Thanks for your contribution Very Happy
Well Done, your Tutorialsl has been accepted.

View user profile

3 Re: HTML Form on Sat Jun 30, 2012 2:02 pm

Thanks for share this Very Happy

View user profile

4 Re: HTML Form on Sun Jul 01, 2012 8:32 am

Verrell123 Admin

avatar
Demo Added

View user profile http://forum.verrell123.co.cc/

5 Re: HTML Form on Sun Jul 01, 2012 1:17 pm

Verrell123 wrote:
Demo Added

wow thanks Verrell Embarassed

View user profile http://freshartz2.indonesianforum.net/

Sponsored content

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 


Sitemap
FreshArtz
FreshArtz © 2012
Design by Verrell123
Donate
Demo Page

About
We are Web Design and Coding forum, we will help member how to coding and design website, there many category about web design and coding.