.....
The Web
MINDBLOWING WALLPAPER DOWNLOAD BOLLYWOOD HEARTTHROB FLOWER NATURE BIKE CARTOON












TOP 10 WEB HOSTING


BlueHost review

Hosting Rating #1

$6.95

$3.95

HostMonster review

Hosting Ranking #2

$6.95

$3.95

JustHost review

Host Rating #3

$6.95

$3.45

HostGator review

Hosting Ranking #4

$4.95

IXWebHostingreview

Hosting Rating #5

$3.95

Fatcow review

Host Ranking #6

$7.33

$3.67

GreenGeeks review

Hosting Rating #7

$4.95

Arvixe review

Hosting Ranking #8

$4.00

Yahoo Web Hosting

Host Rating #9

$7.46

1and1 hosting review

Hosting Ranking #10

$3.99










 

FORMS

HTML Forms are used to select different kinds of user input.

Text: This is used to create single-line text boxes. The syntax to create a text box is:
         <input type="text" name="text1">
Example:
<form>
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>

How the HTML code above looks in a browser:
First name:
Last name:


Password: This is also a text box but it is a "*" type.The syntax to create a password field is
                 <input type="password" name="password>
Example:
<form>
Password: <input type="password" name="pwd" />
</form>


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The Form tags are supported in all major browsers

How the HTML code above looks in a browser:

Password:

Textarea: This option includes rows and cols attributes, which specify the number of lines and character hold in
               the text box. The syntax to create a Textarea field is
                 <textarea rows=4 cols=30 name="textarea">

Checkbox: This option is used to select more than one option.
                   The syntax to create a Checkbox field is
                  <input type="checkbox" name="checkbox" value="HTML">
Example:
<form>
<input type="checkbox" name="vehicle" value="Bike" /> I have a bike<br />
<input type="checkbox" name="vehicle" value="Car" /> I have a car
</form>

How the HTML code above looks in a browser:

I have a bike
I have a car

Radio: This option is used to select only one option of a limited number of choices.
            The syntax to create a Radio field is
            <input type="radio" name="radio" value="yes" checked>

Example:
<form>
<input type="radio" name="sex" value="male" /> Male<br />
<input type="radio" name="sex" value="female" /> Female
</form>

How the HTML code above looks in a browser:

Male
Female

Submit: A submit button is used to send form data to a server.
            The syntax to create a Radio field is
             <input type="submit" name="submit" value="submit">
Example:
<form name="input" action="html_form_action.asp" method="get">
Username: <input type="text" name="user" />
<input type="submit" value="Submit" />
</form>

How the HTML code above looks in a browser:

Username:


Previous                                                                                Next







Today, there have been 1 visitors (8 hits) on this page!
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free