以下代码,用户输入正确的是( )。<;input type="text" name="ccode" pattern="[A-z]{3}" title="请输入国家代码" />;
A: 3Ac
B: U-V
C: B2C
D: mAc
A: 3Ac
B: U-V
C: B2C
D: mAc
举一反三
- 下面代码点击“提交”按钮时会显示被选的复选框的值,代码中下划线处正确的代码为( )。[input type="checkbox" name="aa" value="0" /]0 [input type="checkbox" name="aa" value="1" /]1 [input type="checkbox" name="aa" value="2" /]2 [input type="checkbox" name="aa" value="3" /]3 [input type="button" onclick="abc()" value="提 交" /] [script language="JavaScript"] function abc(){ $("input: ").each(function(){ alert($(this).val()) }) } A: checkbox B: aa C: checked D: :selection
- [label for=”()”]会员账号:[/][input type=”text” name=”username” id=”user”]上面代码中,会员账号是文本框的标签。 A: input B: text C: username D: user
- 以下HTML代码中,用于实现密码输入的是: A: <;input type="text" />; B: <;input type="radio" />; C: <;input type="password" />; D: <;input type="email" />;
- 增加表单的复选框的HTML代码是( )。 未知类型:{'options': ['[input type="submit"]', '[input type= "image"]', '[input type="text"]', '[input type="checkbox"]'], 'type': 102}
- HTML 代码:[br][/br][input name="man-news" /][br][/br][input name="milkman" /][br][/br][input name="letterman2" /][br][/br][input name="newmilk" /][br][/br]jQuery 代码: $("input[name*='man']") 结果:( )本题只有1个标准答案。 A: [] B: [] C: [] D: [ , , ]