Home User CP Browse Members Calendar Register Today!  
Get New posts Faq / Help?
   

Not A Member Yet? Register today and become part of the community.

Go Back   Profuse Host Forum > Hosting Section > Knowledge Base > Tutorials

Tutorials Contribute only full How-To's and Tutorials here. Submit Tutorials, Guides and Hints. ALL TUTORIALS ARE MODERATED AND YOUR TUTORIAL WILL *NOT* BE *VISIBLE* UNTIL IT IS ACCEPTED.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-22-2008, 06:22 PM
Archican
Status: Offline
Junior Member
 
Join Date: Jan 2008
Posts: 9
Archican is on a distinguished road
Default How-to make Form Tags in HTML

When a form is submitted, all fields on the form are being sent.

The <form> tag tells the browser where the form starts and ends. You can add all kinds of HTML tags between the <form> and </form> tags.

This means that a form can easily include a table or an image along with the form fields mentioned on the next page.

Look at this example:

<html>
<head>
<title>My Page</title>
</head>

<body>
<!-- Here goes HTML -->
<form>
<!-- Here goes form fields and HTML -->
</form>
<!-- Here goes HTML -->
</body>
</html>


Note:
Unlike a table, forms are not visible on the page.

The form in our example is useless for two obvious reasons:

* First it contains no form fields. It is simply comparable to a blank sheet of paper.


* Second, it does not contain a recipient for the form once it is submitted.




To let the browser know where to send the content we add these properties to the <form> tag:

* action=address


* method=post or method=get


The address is the url of the cgi script the content should be sent to. The post and get methods are simply two different methods for submitting data to the script.

If you are using a pre-programmed script (which we assume here) it is not important to understand the difference between get and post.

In the description of the script you are using it will be made clear whether the scripts should be addressed using one method or the other.

Below is an example of a typical form tag, with both action and method specified.

<html>
<head>
<title>My Page</title>
</head>

<body>
<!-- Here goes HTML -->
<form method="post" action="http://awebsite.com/something">
<!-- Here goes form fields and HTML -->
</form>
<!-- Here goes HTML -->
</body>
</html>
Reply With Quote

Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help in filling b ed., application form? miaw General - Education & Reference 0 06-19-2008 09:19 AM
Do Meta tags work anymore / Give me hints flickall SEO - Search Engine Optimization 5 01-12-2008 06:40 PM
How do i add tags in yahoo search engine? Net Z Yahoo 1 05-27-2007 02:06 PM
Payment form for website axell Business and Finance Forum 1 05-24-2007 08:37 PM
Form - Mail Clone Ondes Free Web Hosting Support 4 02-10-2007 12:19 PM


All times are GMT -7. The time now is 08:05 PM.

Skin Design By vBSkinworks



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Sponsored by Web Hosting


Profuse Solutions LLC

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80