fieldset and legend, which will help spiff up your form's appearance and structure. These elements are described below.legend element otherwise it's rather pointless. Each set of <fieldset>...</fieldset> tags contains all the form components you wish to be grouped together. legend element creates a text label for each fieldset. It must be used inside the fieldset element and should be the first element appearing after the <fieldset> start tag. The legend element requires both start and end tags. Each set of <legend>...</legend> tags contains the text you wish to use to label the respective fieldset. <div>...</div> tags. The style attribute is used in this 'wrapper' div element to apply some CSS properties which do the following:width: 500px; )border-top: 2px solid white; )form element also has the style attribute inserted to apply some CSS properties which do the following:form element ( margin: 0px )form element ( padding: 10px ) background: #d9d9d9; )<fieldset>...</fieldset> tags which draws a nice border around each group of components. The legend element is inserted at the start of each fieldset to give it a label.
<div style="CSS properties...">
<form action="" method="post" style="CSS properties...">
<fieldset>
<legend>Fieldset label</legend>
<table>Form components...</table>
</fieldset>
<br>
<fieldset>
<legend>Fieldset label</legend>
<table>Form components...</table>
</fieldset>
<br>
<fieldset>
<legend>Fieldset label</legend>
<table>Form components...</table>
</fieldset>
<br>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</form>
</div>
<br>
Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates
See also:
If you need a .COM web address, you can get one quick and easy at...
| <~ BACK | TOP | INTRO |