Web Traffic Guide

Web Page Design Frames Section

Welcome to Web Traffic Guide



Web Page Design Frames Article

You can't think of a  matter on web design without thinking about Web Forms.

In fact, Web Forms is the fundamental step in a web design that makes the site interactive. For. e.g. a simple email capture form can take your site miles ahead and can become a vital ingredient of your web design.

The Basics of Web Forms.

Whenever you want people to enter data and send it to you, you need a web form. Whether the data is as simple as a username and password or as complicated as a full address form, the basic principles remain the same.

The Tags.

As you know, tags forms the basics of any web design and web forms are no different. It has it's own specialized tags that you can easily integrate into the html of your web design.

But fortunately web form tags are very easy to add into your HTML. You can decide on what type of web form you want integrated into your web site right from the planning stage on your web design.

Form tags have always been a troublesome part of HTML, simply because they're not often used and require you to memorize a lot of words, depending on what kind of input boxes you want on your form.

To set up a form, you need to have a form tag with a method and an action, like this:

We have also translated parts of this composition into French and Spanish to facilitate easier understanding of web design. In this way, more people will get to understand the composition.

<form method="post" action="action.php"></form>

Now, do not let these strangle looking characters scare you out of your web design. Don't you think you can simply cut and paste the above tag in the structure of your web design?

These properties aren't very well-named, but they basically tell the browser where and how you want things that are entered on the form to be sent. The file named in action should be a script that is prepared to do something with the data from your form, such as entering it into a database.

It's worth knowing that you can make use of odd things like "mailto:youremail@address.com" as the action (that one submits by email), although it's not recommended in your web design. This is primarily because, there are email harvester that can harvest your email fill your email box with spam! Hence this is not recommended in your web design.

Once you've got that, the next step is to put input tags between the form tags. There are lots of different kinds of input tags, and you say which kinds you want using the 'type' property. For example:

<input type="checkbox" name="example">one</input>

Don't you think you are getting the general feel and hang of how forms are used in your web design. .

This is a checkbox tag (the boxes you can tick). The name property lets you give the checkbox a name so you can refer to it your scripts later on. The text between the tags ('one') is what appears next to the tick box.

Other input types include:

text - a text box.
radio - a set of options where only one can be chosen.
button - a clickable button.
file - a box that allows someone to upload a file to your site.
submit - a special kind of button that sends the result of the form to the server.
reset - a button that clears everything a user has entered in the form, so they can start over.

Web Forms and CSS.

Those forms you just made, however, aren't going to be pretty: they'll be displayed in only the most basic style, one after the other and surrounded by ugly boxes. Luckily, it's simple to add some styling using CSS in exactly the same way as you would add it to normal text. You can change the boxes' background-color, font (font-family), remove the borders, and so on.

You might also like to make use of the various CSS 'events', such as the hover event.  Since CSS has become a convenient way for making changes in web design and structure of a web site on the fly, knowing this aspect of web design has become very important.

Take a look at this example CSS:

input:hover {
background-color: yellow;

It makes the input box go yellow when the user hovers over it combine that with a bit of Javascript that automatically moves the typing cursor into input boxes that the user hovers over, and you've got an easier to use form right away. Try as much as you can to make your input boxes look and behave like ones you like in software you find easy to use, and you won't go far wrong.

Validating Input.

Once the user has typed something in, you need to validate it that is, check it makes sense. If they're supposed to be filling in an email address, there needs to be an @ in there somewhere. If they've chosen a username, you need to make sure it's not already been taken by someone else. That kind of thing.

There are two ways of validating input: client-side and server-side. To put it simply, client-side validation is done by Javascript, and is purely there for the user's convenience, so they don't have to submit a form only to find out it was wrong. Server-side validation will be done with a language like PHP, and is the final check before the data gets written to a database if it's wrong at that point, you have to throw the user an error page and ask them to re-enter the relevant piece of information.

It's very important that you don't leave vital checking purely up to the Javascript, as some of your visitors may have Javascript turned off, or may even turn it off deliberately to get around your checks. The last thing you want is people being able to fill your database with bad information.

We hope this article has shown some light on integrating Web Forms to your Web design. There are more articles on web design on this site. Enjoy them too.


Web Page Design Frames Best products


More News On Web Design!



Web Page Design Frames News

A Photographic Journey with the Legendary Canon EF 1200mm Lens - PetaPixel (blog)

PetaPixel (blog)

A Photographic Journey with the Legendary Canon EF 1200mm Lens
PetaPixel (blog)
The lens top has a substantial carry handle and the fixed tripod mount below is nearly identical to the handle in size and shape, giving the design symmetry and balance from top to bottom. A built-in lens hood ... Also, the Canon USA website lists 12mm ...


Designing for Plants to Boost Human Well-being - PSFK (blog)

PSFK (blog)

Designing for Plants to Boost Human Well-being
PSFK (blog)
It was at the 2014 edition of NYCxDesign that we noticed a fair number of exhibitors feature or incorporate potted plants into their displays. A year later, a new cast of leafy inhabitants made design venues around NYC their temporary home. For 2015 ...


Chelsea shopping list: products we love at this year's show - Telegraph.co.uk


Chelsea shopping list: products we love at this year's show
Julian Cochrane, who designs play areas as well as the kit, has RoSPA (Royal Society Prevention of Accidents) qualifications and the wooden swings are wrapped with rope which looks great and cushions any untoward blows. He does a wide range, ...

and more »


Losing the Signal: How BlackBerry's bid to one-up the iPhone failed - The Globe and Mail

The Globe and Mail

Losing the Signal: How BlackBerry's bid to one-up the iPhone failed
The Globe and Mail
But in the consumer market, where the Pearl phone was competing, RIM needed a full Web browser. ... A stickler for bandwidth reliability, the New York-based carrier wouldn't relinquish control of its network to an unseen phone Jobs wanted complete ...


MSI Gaming 24GE 2QE-014US - PC Magazine

PC Magazine

MSI Gaming 24GE 2QE-014US
PC Magazine
Thin, all-in-one design. HDMI-in port means display can be used as a monitor. In-Plane Switching (IPS) touch screen has wide viewing angles. Gaming utilities included. Cons No internal expansion room. Back-panel connectors are inconvenient to access ...


Travel Essentials for the Stylish Man - Huffington Post

Huffington Post

Travel Essentials for the Stylish Man
Huffington Post
Frameri Eyewear lessens your load with interchangeable lenses that easily pop into and out of stylish Italian frames, and once you have one set of lenses you can change up your frame style as well. As for keeping things under control down there, Mack ...

and more »