| HTML | PHP Scripts | Code Generators and Webmaster Tools | Webmaster Forums | Web Hosting | Domain Names | Webmaster Books |
Register / LoginHTML ToolsHTML Table Maker HTML Table Maker II HTML Validator Link Checker and Header Response Tool HTML Forumfixing the width of <td> Simple email form forum wraping mpg basic controls Help With Robots.txt File change image dynamically for div class IE specific gap at top of table help with hyperlinks-underline and color Autoselect predefined input-value onClick. Vbscript/html Checkbox DIV to confine long-length text Help with an Auto-responder What's the HTML code to download a pdf from a link Putting a music player on my website Trying to decrease consumer payment steps Help with displaying only a portion of overflow Code to allow download of MS word file HTML Form with required fields Doubt in <frameset> View all HTML Discussions |
Forms start with the <form> tag, which tells the browser where to send the information, then they have a few input fields, then a usually a submit button and a reset button. Let's get started. As stated above, this tag starts the form. Here is an example use of the <form> tag: <form action="http://www.geocities.com/cgi-bin/homestead/mail.pl?yourname" method="post"> This code will not show up in the web page, it's invisible. It is the "input types" that you put in your code that create the visible part of your HTML form, with the exception of input type hidden.
* = mandatory Forms are a little tricky, you must have a script that will take the information and do something with it. In the above example, Geocities is using a CGI script named mail.pl. You've learned how to start a form, now lets learn the rest. There are seven kinds of input types: "text", "checkbox", "radio", "hidden", "password", "reset", and "submit". These all have different attributes to them; read about them by following the remaining HTML form tutorials. There is also another type of input, which creates a large window into which one can type text, but it is not a true "input type", this is called the textarea. Back to the HTML Forms menu. |
HTML Introduction
HTML Basics HTML Getting Started HTML Tag List Text Attributes Hyperlinks Formatting Tags Image Tags
The Frameset Tag
The Frame Tag The Noframes Tag Basic Frames Page Code Targetting Links Screen Layout
The Table Tag
The Row Tag The Conventional Cell Tag The Header Cell Tag Basic Example w/Source Code Detailed Example w/Source Code
The Form Tag
Input Type Text Input Type Password Input Type Checkbox Input Type Radio Input Type Hidden Input Types Submit And Reset The Textarea Tag Select Menus Web HostingDomain NamesPHP Scripts |
About us Advertise Contact us Privacy Sitemap |