單項(xiàng)選擇題用于設(shè)置文本框顯示寬度的屬性是()。
A.Size
B.MaxLength
C.Value
D.Length
您可能感興趣的試卷
你可能感興趣的試題
1.單項(xiàng)選擇題若要產(chǎn)生一個(gè)4行30列的多行文本域,以下方法中,正確的是()。
A.<Inputtype=”text”Rows=”4”Cols=”30”Name=”txtintrol”>
B.<TextAreaRows=”4”Cols=”30”Name=”txtintro”>
C.<TextAreaRows=”4”Cols=”30”Name=”txtintro”></TextArea>
D.<TextAreaRows=”30”Cols=”4”Name=”txtintro”></TextArea>
2.單項(xiàng)選擇題若要獲得名為login的表單中,名為txtuser的文本輸入框的值,以下獲取的方法中,正確的是()
A.username=login.txtser.value
B.username=document.txtuser.value
C.username=document.login.txtuser
D.username=document.txtuser.value