W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

[whatwg] Suggestion: Implementation of Tabbed Forms

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Mon, 28 Jun 2004 15:31:04 -0400
Message-ID: <40E071F8.6000700@earthlink.net>
    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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:34 UTC