HTML FieldSet Tag

The most common HTML tag I use is div. The div tag is a web designer’s best friend. It is the Swiss army knife of tags. That said my favorite HTML tag is the fieldset. The fieldset tag is similar to the div in that it is a container for other design elements. The key difference between a div and a fieldset is that you can add a text legend to the fieldset, which appears inside the top right of border of the fieldset!!!

<FIELDSET>
<LEGEND>Header for Grouping</LEGEND>
CONTENT
</FIELDSET>

You might be asking, what are fieldset good for? The fieldset tag helps to visually group elements, such as a login form or a group of links. If you want an example of the fieldset tag in use look below to the Related Posts table below…

Technorati Tags: , , , , ,

Related posts:

  1. Acts As Taggable Tag Cloud
  2. Dynamically Create HTML Elements with JavaScript
  3. Disable Right Click Menu in HTML
  4. Rounded Corners With Rico
  5. Div Align With CSS
  6. Unobtrusive JavaScript with Prototype and Behavior


Leave a Reply