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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s