Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

Search: 

  Tutorial: HTML Forms Basic Forms Tutorial

This tutorial outlines the basic format of a html form and the most common form elements.

Tutorial Details:

HTML Forms Basic Forms Tutorial
Using simple HTML forms is a very slick way of receiving information from your visitors. You put a few boxes and buttons on your page, they enter in their details and you receive them through email ? brilliant.

Just like the rest of HTML, forms follow a structure. The
tag is a container tag . It holds all of the elements, such as text boxes and submit buttons, which we'll see below, inside it. Our form container will look like this:



This tag and its attributes start a new form; name the form ?feedback?, specify that the method the form will use is to post the information, and give the location that the information will be sent to with the action attribute ? in this case your email address . Make sure you put your address in straight after the attribute, with no space in-between.

This method of sending the data will just send an email. If you want the form to add a thank-you message afterwards, you need to use Perl to write a CGI script , which is a bit more complicated. For your first form, just send it straight to your email address.

Once you've set down that a form is going here, you will need to populate it with some of the input elements and a submit button. Put the parts below between the form tags.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
HTML Forms Basic Forms Tutorial

View Tutorial:
HTML Forms Basic Forms Tutorial

Related Tutorials:

Displaying 1 - 50 of about 1775 Related Tutorials.

JSP WITH MULTIPLE FORMS
JSP WITH MULTIPLE FORMS JSP WITH MULTIPLE FORMS... forms in single jsp page. Most of the times people need to use multiple forms on a single page. For example on one web page you may add forms for login, search
 
JSF Forms - Developing form based application
everything you need to know about JSF. Developing Forms in JSF 1.2 In this tutorial we will show you how to develop UI forms using JSF 1.2.  For this tutorial we... button with the text "OK" on it. Line 5: Creates HTML forms end tag
 
Multiple Forms in JSP
Multiple Forms in JSP Multiple Forms in JSP           ... can contain checkboxes, textfields, radio- buttons and many more. Forms are used
 
Open Source Books
Books O'Reilly has published a number of Open Books--books with various forms... formats are PDF, PostScript, HTML, DVI and RTF  The print formats... and mulitple situations, and your time isn't wasted wading through chapters of tutorial
 
Struts Validator Framework Tutorial with Example
Struts Validator Framework Tutorial with Example... within this, are global and are accessed by all forms... validation and more. This basic set of rules can also be extended with custom
 
'for' Loop
The for and equivalent while statements have these forms. for (init-stmt; condition; next
 
Paragraph in HTML
this Tutorial, the HTML code begin with a <html.> tag, The <head>tag follows... second paragraph. This describes the basic tags used in HTML.<br/> Html... Paragraph in HTML Horizontal Rule in HTML
 
EL Basic Comparisons
EL Basic Comparisions EL Basic Comparisons.... The Expression Language has the following Basic Comparisons: < >  ... of the program is given below:   <html> <head> <title
 
HTML Books
HTML Books HTML Books    ...; HTML Quick Reference Guide Books Elements marked here with a pilcrow (?) are in HTML3 (additions to or changes from HTML 2.0
 
Show Hyperlink in HTML Page
The Tutorial illustrates an example that show you a Link in HTML.The HTML code show you... Show Hyperlink in HTML Page Show Hyperlink in HTML Page
 
Text Area in HTML
Text Area in HTML Text Area in HTML   ...; Area in HTML is used to write unlimited number of text in it. Understand
 
HTML Document Creation
HTML Document Creator,HTML Document HTML Document... to be embedded within the HTML pages. There are several tags used in HTML however in this section we will provide an  introduction to HTML for Java
 
JSF HTML Tag Reference
JSF HTML Tag Reference JSF HTML Tag Reference...;    In this section, you will learn more about html tags provided in JSF. JSF HTML tags are used for design the page by using server
 
Create a Sash Form
) and places a Sash between them. In the given example, two sash forms are created
 
Java BigDecimal add example
is demonstrated in following two constructor forms add(BigDecimal augend) and add
 
Img Tag:
Struts 2 Tutorial Img Tag<html:img>:  ...;            html:img Tag : Renders an HTML <img> element with the image at the specified URL
 
Text Field in HTML
in HTML.In this Tutorial, the code create a text field in HTML page. <form action>... Text Field in HTML Text Field in HTML  
 
Dojo Tutorial
DOJO Tutorial Dojo Tutorial  ...; In this tutorial, you will learn everything about the dojo. After completing the tutorial.... This advanced Dojo tutorial covers: Introduction to DOJO
 
Horizontal Rule Attribute in HTML
Rule Attribute in HTML. In this Tutorial, the code apply a  horizontal... Horizontal Rule Attribute in HTML Horizontal Rule Attribute in HTML
 
Check Box in HTML
a radio button in html page. Understand with Example The Tutorial explains you an example from Checkbox in HTML. In this tutorial code, we create a set of check... Check Box in HTML Action Submit Html  ... Submit in Html is used to submit a form, When a user clicks on a submit button
 
Radio Buttons in HTML
Radio Buttons in HTML Radio Buttons in HTML...; The Radio Button in HTML are type of input form, which allows a user to select any
 
Java Java DOM Tutorial Tutorial
XML,XML Tutorials,XML Examples,XML Example,Java DOM Tutorial Java DOM Tutorial        ...;      This tutorial is complete guide to DOM
 
Jakarta Struts & Advanced JSP Course
Working with HTML Forms Action Forms Relationship...;html:form> <html:text>  Forms and Form Beans... to take control of  HTTP requests/responses. Managing HTML
 
Set Background Colors and Images in HTML
into it in HTML Page. Understand with Example The Tutorial illustrates to set a background color in HTML. In this Tutorial, the code describe you an example... Set Background Colors and Images in HTML Password Field in HTML... field, it shows a dot on the screen. Understand with Example The Tutorial
 
MySQL Tutorial - SQL Tutorials
MySQL Tutorial,Free MySQL Tutorials,MySQL Programming Tutorials,Online MySQL Help for Beginners MySQL Tutorial - SQL Tutorials...;  Complete MySQL 5 Tutorial In this section you
 
VoIP Technology
technology in its many forms: desktop applications, telephone services
 
Complete Hibernate 3.0 Tutorial
Hibernate Tutorial,Hibernate 3 Tutorials,Java Hibernate Example,Hibernate Online Code Complete Hibernate 3.0 Tutorial...; This tutorial provide step by step instructions on using Hibernate
 
Struts 2 Tutorial
Programming Tutorials Struts 2 Tutorial  ... Struts 2 Tutorial and Online free training helps you learn new elegant Struts 2.... The checkbox tag is a UI tag that is used to render an HTML input
 
How Struts Works
;       The basic purpose of the Java... distribution, but it is not mandatory to use only Jsp tags, even plain HTML... the html is that it can't take the full advantage of all the dynamic features
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.