WML Tag Reference

Bookmark this page

The Input Element - <input>

Description:
Spefies a text entry object.


Example:
<input type="text" name="uname"/>


Attributes
Name Value Description
name NMTOKEN Specifies the name of the event binding.
type (text|password) Specifies the type of text-input area.
value CDATA Specifies the value of the input area.
format CDATA Specifies the input mask for user input.
emptyok BOOLEAN If TRUE, input is not required.
size number Specifies the width in characters of the input area.
maxlength number Specifies the maximum number of characters for the input area.
tabindex number Specifies the number in the tab order of input areas.
title CDATA IMPLIED. Text identifier for the element.
accesskey CDATA IMPLIED. Assigns an access key to the element.
id ID Sets the unique name for the element.
class CDATA Associates the element with a defined class.
xml:lang NMTOKEN IMPLIED. Specifies the natural or formal language of an element.


Back to Tag Listing

材料来源 http://www.wirelessdevnet.com/channels/refview.phtml?cat=wmltags 本电子书由gudai制作,仅供学习参考,如有意见,欢迎email:base5@126.com。或访问我的博客http://gudai.cnblogs.com