The fieldset attribute to logically group data items in Form.

The fieldset attribute is used to logically group data items that share some characteristics.
For example, you may wrap a fieldset around personal details, and another around work details,
when capturing information about a visitor in an application form.

Example:

<fieldset style=”border: 1px solid #ff8c00; padding: 10px; width: 224px;”>
<legend style=”font-weight: bold; background-color: #ffe4c4″>
// Heading
</legend>
<br />
// Content
<br />
</fieldset>

Image

Advertisements