logo
g Text Version
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies

dailyclick
Bored? Games!
Nutrition
Postcards
Take a Quiz
Rate My Photo

new
Painting
Heart Disease
Horror Literature
Dating
Hiking & Backpacking
SF/Fantasy Books
Healthy Foods


dailyclick
All times in EST

Full Schedule
g
g HTML Site

BellaOnline's HTML Editor

g

The HTML Form - Hidden Input Tag - II

Guest Author - Diane Cipollo

In the first part of this tutorial we discussed the HTML form tag called the hidden input tag. Now, let's take a look at the code.

<input type="hidden" name="requested_URL"
value="WishList.html">
< Left angle bracket
inputElement name
type Type of input tag. This input tag is set to hidden.
nameID given to the information passed to the processing program
valueThe information you wish to send to the processing program
> Right angle bracket
Note--The arrow indicates that the code is wrapped to a second line and should really be all on one line.

As you can see in the chart above, this HTML input tag does not have a closing </input> tag. Like most HTML form tags, this tag begins with a < left angle bracket and closes with the > right angle bracket. The element name is input indicating that this tag is an input tag. Also there are three attribute/value pairs.

The Type Attribute
The type attribute controls the type of input field that will appear in the web form. Of course, in this case the value for this attribute is set to hidden and therefore nothing will appear in the form.

The Name Attribute
The second attribute is the name attribute. The value given to this attribute is a unique ID that the processing program will use to identify the information attached to this tag. In the example, I have set the value of the name attribute to "requested_URL" which will tell the processing program that the information attached to this tag will be the URL for the webpage that was requested when the visitor was sent to the Sign In form.

The Value Attribute
The value attribute will "carry" the hidden information to the processing program. Whatever information that you place between the quotation marks for this attribute/value pair will be the URL of the requested webpage. In the example I have set the value of the value attribute to "WishList.html". This tells the processing program that the Sign In form was initiated (or called) when the customer clicked on the link to view his personal Wish List.

|


This site needs an editor - click to learn more!

Add The+HTML+Form+%2D+Hidden+Input+Tag+%2D+II to Twitter Add The+HTML+Form+%2D+Hidden+Input+Tag+%2D+II to Facebook Add The+HTML+Form+%2D+Hidden+Input+Tag+%2D+II to MySpace Add The+HTML+Form+%2D+Hidden+Input+Tag+%2D+II to Del.icio.us Digg The+HTML+Form+%2D+Hidden+Input+Tag+%2D+II Add The+HTML+Form+%2D+Hidden+Input+Tag+%2D+II to Yahoo My Web Add The+HTML+Form+%2D+Hidden+Input+Tag+%2D+II to Google Bookmarks Add The+HTML+Form+%2D+Hidden+Input+Tag+%2D+II to Stumbleupon Add The+HTML+Form+%2D+Hidden+Input+Tag+%2D+II to Reddit




RSS | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map


For FREE email updates, subscribe to the HTML Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor


Content copyright © 2013 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.

g


g features
What's Coming in HTML 5

What is FTP?

HTML Fundamentals - Tables

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Poetry
Daily
Weekly
Monthly
Less than Monthly



BellaOnline on Facebook
g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2013 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor