WML TAG:  fieldset

<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
 
Attributes
 
class
The optional class core attribute is used to assign one or more classes to the element. Multiple classes are separated by white space. The class name is case sensitive (i.e., Stocks and stocks are not the same).
 
id
The optional id core attribute is used to assign an identifying name to a tag. The name must be unique to the entire deck and not just unique to a card. The first character of the name can be any letter or the underscore. The remaining characters can be any combination of letters, numbers, or underscores.
 
title
The optional title attribute provides a string or text used to describe or provide additional information about the link.
 
xml:lang
The optional xml:lang attribute sets the language, such as English or Greek, used in the element. For example, in the U.S. the default value is en-US.
 
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>


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information