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. Div Align With CSS
  4. Unobtrusive JavaScript with Prototype and Behavior
  5. Hide Your HTML Source

This entry was posted in HTML/XML, TechKnow. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*