WML » Tags » fieldset

Syntax:
<fieldset> ... </fieldset>

The fieldset tag is used to group logically related elements in a card. These related elements can include text, tables, select elements, links, input elements, images, or whatever suits your needs. This permits the browser to optimize the layout and navigation.

While there is no limit on the number of fieldset elements a card can contain, there is an upper limit to the compiled byte size for a card (~1400 bytes). You can also nest fieldset elements inside other fieldset elements.
 
Nested Tags:  a  anchor  b  big  br  do em  fieldset  i  input  img  select  small  strong  table  u

Examples

Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.WAPforum.org/DTD/wml_1.1.xml">
<wml>
<card id="ic" title="Ice Cream Poll">
<p>

<fieldset id="fs1" title="Name">
   Please enter your name<br />
   First Name: <input id="inp1" type="text" name="firstname" maxlength="20" />
   Last Name: <input id="inp2" type="text" name="lastfname" maxlength="20" />
</fieldset>

<fieldset id="fs2" title="Select a favorite">
   Click Select<br />
   <select id="sl1" name="favorite" title="Pick your favorite!">
      <option value="ch">Chocolate</option>
      <option value="st">Strawberry</option>
      <option value="va">Vanila</option>
   </select>
</fieldset>

</p>
</card>
</wml>
Language(s): WML

See Also: