How to Create Registration Boxes

Creating content on a website can be a difficult task for a beginner. The job of learning site structure and understanding HTML and CSS code can be overwhelming. However, once these basics have been learned, you may discover that you wish to gather information from your visitors, either to add them to a newsletter mailing list or to create a customer account. This information can be collected through user input into registration or text boxes. Adding these elements to your web page is very similar to adding other page objects.

Instructions

    • 1

      Launch your web editing program and open the page where you wish to add the registration boxes.

    • 2

      Navigate to the location on your page where you are going to add your registration boxes.

    • 3

      Type "<form>xxxxx:<input type="text" name="xxxxx"></form>" into your web editor. This creates a text field on your page. Note that the "xxxxx" after "<form>" should be changed to whatever data you are asking your visitors for. The "xxxxx" after "name=" should be changed to easily identify the information you are collecting as well.

    • 4

      Add "size="x" maxlength="x" value="x"" after the word "input" to specify the size, maximum value and default information, respectively, that will restrict the information you visitors enter. For example, if you were asking for a zip code, the values would be "size="5" maxlength="5" value="19020"".

    • 5

      Type "<input type="submit" name="submit" value="Submit" >" into your web page editor, before the "</form>" tag, to create a button that lets visitors know what to do when they are done filling out the registration boxes.

Tips & Warnings

  • To store information that site visitors enter into your registration boxes, you will need to have access to a database. Contact your web hosting company to learn how to set up a database on their servers.

  • Create as many registration boxes as you need---just remember to keep all of them inside the "<form></form>" tags to ensure that the information is all submitted together.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured