创建一个单行文本输入区域
举一反三
- "HTML代码<input type=text name=""foo""size=20>表示( )。
- 以下HTML代码中,用于实现密码输入的是: A: <;input type="text" />; B: <;input type="radio" />; C: <;input type="password" />; D: <;input type="email" />;
- 设有以下两行HTML代码:01 <;input name="xm" type="text" />;02 <;input type="password" />;下列哪些选择器仅可以选择01行标签 A: input{} B: input[name]{} C: input[type]{} D: input[name=xm]{} E: input[name*=xm]{}
- 邮箱输入框和文本输入框同时定义样式时,写法正确的是( ) A: input[type="text"],[type="email"] { } B: input([type="text"],[type="email"] ){ } C: input[type="text"][type="email"] { } D: input(type="text"),(type="email") { }
- 【单选题】创建一个单选按钮的HTML代码语法正确的是( )。 A: 〈input type="radio" name="x1" value="x1"〉 B: 〈input type="text" name="foo" size=20〉 C: 〈input type="checkbox" value="y"〉 D: 〈input type="image" name="x4" src="name.gif"〉
内容
- 0
阅读以下代码段,则可知 <input type="text" name="textfield"> <input type="radio" name="radio" value="女"> <input type="checkbox" name="checkbox" value="checkbox"> <input type="file" name="file">
- 1
下图是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
- 2
表单:阅读以下代码段,则可知( )。 <INPUT type="text" name="textfield"><INPUT type="radio" name="radio" value="女"><INPUT type="checkbox" name="checkbox" value="checkbox"><INPUT type="file" name="file">
- 3
HTML代码<input name="foo" size=20>表示( )。
- 4
智慧职教: 利用jQuery实现全选反选全不选,网页外观代码如下。 <script type="text/html" style='display:block'> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> </head> <body> <input type="checkbox" name="check" value="a"/>a <input type="checkbox" name="check" value="b"/>b <input type="checkbox" name="check" value="c"/>c <input type="button" value="全选" id="btn"/> </body> </html> </script>