Contact Our Development Team
Free Code Tutorials & Open Source Code
HTML Forms - Basics
Tutorials > HTML > Forms
HTML Forms
Now that you've built a simple website, you might want to get some data from your users. The first think you need to know is that even though you can make a form in HTML, you will have a learn a scripting language of some kind to get the data and do something with it, and we'll show some examples of simple forms and getting the data from them in our PHP tutorials later. Before you do that, you should learn about how forms are constructed and practice laying them out.
The form element
In order to create an HTML form, you first need to make a <form>element. This can have a number of attributes, such as name="" and id="", but the attributes of the form input elements are much more important. We will look at these input elements next.
<form name="inputform">
    <!-- Input elements go here -->
</form>
Check out our next set of tutorials for more information on the input elements which can be contained within a form.
Page Responses
Currently there have been no responses to this page...
If you have anything to contribute to this tutorial, found a bug, or know a better way of achieving the same goal, please leave your response below.
     
Copyright ©2009, Wired IDS Ltd. | Licensed under Creative Commons Attribution Share-Alike | Load time: 0.2957 seconds