Search:
HTML
Fieldset tags
HTML Basics - How to Create Web Page
How to make HTML Tables

Designing A Better Website

By Jason J. Russo
Designing A Better Website 
HTML Tips 
The Fieldset Tag
By: Jason J. Russo

This week I'm going to show you some HTML tags that you can use 
to add some great functionality to your forms.

<fieldset></fieldset>
The fieldset tag will add a windows like effect around any elements 
you put inside of it.  This tag is great for grouping form elements 
together plus it just looks cool!  

Example:
Put A fieldset around this window
<legend></legend> This will simply add a title to the fieldset tag. <legend>Windows Like Forms</legend> Example:
WindowsPut A fieldset around this window
<label></label> With the label key you can specify what part of a form element gets highlighted when you click on the assigned text within the label tag. Here is an example: <LABEL FOR="Bronze">Bronze</label> <input type=radio name=itemstyle ID=Bronze> Press the Bronze text below:
The above example will highlight the radio button. 'FOR' is the name you assign to the specific form function. <label FOR="this" ACCESSKEY="T"><u>T</u>ext Field:</label> <input type=text ID=this> By adding the ACCESSKEY within your label tag you can assign a letter on the users keyboard so that when they press the ALT "letter you assign" together it will highlight that object.
Window like forms
Click on the text below and the radio buttons will check.




That's it for this week! If you have any comments or questions about today's tips please � 2000 Jason Russo, H.B. Distribution. All rights reserved. http://thescriptcenter.com Jason Russo specializes in website design, and programming for the web. Subscribe to our free e-zine! http://thescriptcenter.com/ This article may be reproduced in its entirety providing this resource box is included.