HTML Forms

HTML Forms
Forms are a very important tool for the webmaster to collect information from the web, like: name, email address, credit card, etc. A form will take input from the viewer and depending on your requirements; you may store up that information into a folder, place an order, gather user information, register the person to your web forum, or maybe subscribe them to your weekly newsletter.


Text Fields

Before we teach you how to make a complete form, let’s start out with the basics of forms. Input fields are going to be the meat of your form’s sandwich. The
has a few attributes that you should be aware of.

  1. type – Determines what kind of input field it will be. Possible choices are text, submit, and password.
  2. name – Assigns a name to the given field so that you may reference it later.
  3. size – Sets the horizontal width of the field. The unit of measurement is in blank spaces.
  4. maxlength – Dictates the maximum number of characters that can be entered.

Code

Name:
Password:

HTML Radio Buttons
Radio buttons are a popular form of interaction. You may have seen them on quizzes, questionnaires, and other web sites that give the user a multiple choice question. Below are a couple attributes you should know that relate to the radio button.

  • value – specifies what will be sent if the user chooses this radio button. Only one value will be sent for a given group of radio buttons (see name for more information).
  • name – defines which set of radio buttons that it is a part of. Below we have 2 groups: shade and size.
What kind of shirt are you wearing?
Shade:

Dark

Light
Size:

Small

Medium

Large

HTML Check Boxes
Check boxes allow for multiple items to be selected for a certain group of choices. The check box’s name and value attributes behave the same as a radio button.

Select your favorite cartoon characters.

Goofy

Donald

Bugs Bunny

Scooby Doo

HTML Drop Down Lists
Drop down menues are created with the
is the list itself and each

College Degree?

HTML Text Areas
ext areas serve as an input field for viewers to place their own comments onto. Forums and the like use text areas to post what you type onto their site using scripts. For this form, the text area is used as a way to write comments to somebody.

Rows and columns need to be specified as attributes to the

Related Links: You can skip to the end and leave a response. Pinging is currently not allowed.

Add a Facebook Comment

9 Responses to “HTML Forms”

  1. fake watches says:

    I find myself coming to your blog more and more often to the point where my visits are almost daily now!

  2. Sick and tired of getting low numbers of useless visitors for your site? Well i want to let you know about a new underground tactic which makes myself $900 each day on 100% AUTOPILOT. I could truthfully be here all day and going into detail but why dont you simply check their website out? There is a excellent video that explains everything. So if your seriously interested in producing simple cash this is the site for you. Auto Traffic Avalanche

  3. Sick of getting low amounts of useless visitors for your site? Well i wish to let you know about a brand new underground tactic that makes me personally $900 daily on 100% AUTOPILOT. I could be here all day and going into detail but why dont you merely check their site out? There is a great video that explains everything. So if your serious about making easy cash this is the website for you. Auto Traffic Avalanche

  4. Why have you removed my post? It was very beneficial information and i promise atleast one person found it helpful unlike the rest of the comments on this website. I’ll post it again. Tired of getting low numbers of useless traffic to your website? Well i wish to inform you of a brand new underground tactic that makes me personally $900 on a daily basis on 100% AUTOPILOT. I really could be here all day and going into detail but why dont you simply check their site out? There is a excellent video that explains everything. So if your serious about producing easy hard cash this is the website for you. Auto Traffic Avalanche

  5. Seo Services says:

    I love Blogging. Keep up all the work. I too love to blog. Great Stuff Here.

  6. Music says:

    I don’t typically agree with the information that are presented on websites but in this case I agree.

  7. Young Jeezy says:

    I don’t normally agree with the comments that are shown on web sites but in this case I agree.

  8. Since scouting for a little bit for finding a useful content articles that is related to this kind of subject matter . Exploring in Search engines I ultimately spotted this fabulous site. Seeing this data So i am lucky to say that I’ve got a wonderful impression I uncovered just what I needed. I’ll be sure to remember this website and give it a look consistently.

Leave a Reply