[whatwg] Suggestion: Implementation of Tabbed Forms

    I've thought up a simple way of doing tabs using <form> and 
<fieldset>. Here's a simple example:

<form type="tabbox">
   <fieldset type="tab" id="tab1">
     <legend>Tab 1</legend>
     <label>Name 1: <input type="text" name="name1" /></label>
   </fieldset>
   <fieldset type="tab" id="tab2">
     <legend>Tab 2</legend>
     <label>Name 2: <input type="text" name="name2" /></label>
   </fieldset>
   <fieldset type="tab" id="tab3">
     <legend>Tab 3</legend>
     <label>Name 3: <input type="text" name="name3" /></label>
   </fieldset>
</form>

    The nice thing about the above example is that it degrades into a 
few simple boxes with controls in them in IE and other UAs.

    Impressions?

Received on Monday, 28 June 2004 12:31:04 UTC