单项选择题

要使文本框最多只能接受6个数字,应对文本框做的设置为()。

A.将inputmask属性设为999999
B.将inputmask属性设为a
C.将format属性设为999999
D.将format属性设为a