WML Home
WML Tags Reference
Selected Reading
© 2011 TutorialsPoint.COM
|
WML <fieldset> Tag
The <fieldset/> element is used to group various input fields or selectable lists.
Attributes:
This element supports the following attributes:
Attribute | Value | Description |
title | text | Sets a title for the list |
xml:lang | language_code | Sets the language used in the element |
class | class data | Sets a class name for the element. |
id | element ID | A unique ID for the element. |
Example:
Following is the example showing usage of this element.
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN"
"http://www.wapforum.org/DTD/wml12.dtd">
<wml>
<card title="Grouped Fields">
<p>
<fieldset title="Personal Info">
Name: <input name="name" size="12"/>
Age : <input name="age" size="12" format="*N"/>
Sex : <input name="sex" size="12"/>
</fieldset>
</p>
</card>
</wml>
|
This will provide you following screen to enter required information. This result may differ browser to browser.
|
|
|