在网页中有如下HTML代码:[br][/br] [input type="radio" name="sex" value="man"/]男 [input type="radio" name="sex" value="woman"/]女 则设置选择状态为“女”,正确jquery实现代码为: A: $("input:radio").get(0).attr("checked",true); B: $( input[type=radio] )[1].attr( checked ,true); C: $( input[type=radio] ).eq(1).attr( checked ,true); D: $("sex:radio").eq(1).attr("checked",true);
表单中添加文件域的语法格式如下:[br][/br][input name=”file” type=”file” size=”尺寸”][br][/br]其中,name表示____,type表示____,size表示____。
下图是HTML文件submit.html在IE中的部分显示效果。请完成下面submit.html中部分html代码。<form action=/cgi-bin/post-query method=POST>您的姓名:<input type=text name=姓名><br>您的主页的网址:<input type= text name=网址value=http://><br>密码:<input type=()name=密码><br><input type=submit value=“发送”><input type=()value=“重设”></form> <input type=()name=密码><br> A: text B: password C: passwd D: key
下图是HTML文件submit.html在IE中的部分显示效果。请完成下面submit.html中部分html代码。<form action=/cgi-bin/post-query method=POST>您的姓名:<input type=text name=姓名><br>您的主页的网址:<input type= text name=网址value=http://><br>密码:<input type=()name=密码><br><input type=submit value=“发送”><input type=()value=“重设”></form> <input type=submit value=“发送”><input type=()value=“重设”> A: send B: reset C: restart D: replace
为了完成“5.3复杂表单页”案例的表单设计,请将空格补齐,设计“性别”字段 [label]性别[/] [span] [input type="___1___" name="sex" id="m" value="male"][label for="___2___"]男[/] [input type="___3___" name="___4___" id="w" value="female"][label for="___5___"]女[/] [/] </p