| 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 ForumLosing background/text color when converting HTML to PDF HTML Help Needed!!!!!! Please, no CSS or Javascript old problems how can i wrap the text in a cell of a html table IE7 looks good, FFox Not so good Rotate Flash video on refresh Help! Transparent Frameset Background. Help with forms Html Code CSS Layout - 3 Column Plus mailto auto subject population variable Date script on an Image table row values Browser Based HTML Email Forms form help Help with form please Put Picture Next to Youtube Video Scrollbar under heading 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 |