要求用JavaScript实现下面的功能:在一个文本框中内容发生改变后,单击页面的其他部分将弹出一个消息框显示文本框中的内容,下面语句正确的是()。
第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= (44) name=密码><br>
<input type=submit value=“发送”><input type= (45) value=“重设”>
</form>
(44)
A.text
B.password
C.passwd
D.key
第2题:
在下列选项中,正确地产生文本区(textarea)的标记是( )。
A.<textarea>
B.<input type=”textarea”>
C.<input type=”textbox”>
D.<input type=”text:”>
第3题:
详细阅读下面的FORM. 表单和PHP代码。当在表单里面的两个文本框分别输入’php’和’great’的时候,PHP代码将在页面中打印出什么?( )
form. action=’index.php’ method=’post’
input type=’text’ name=’element[]’
input type=’text’ name=’element[]’
input type=’submit’ value=’提交’
/form
Index.php 代码如下:
?php
if(
A.什么都没有
B.Aarry
C.一个提示
D.phpgreat
第4题:
在表单的相关标记中,表示提供给用户一个可以复选的选项的标记为()
第5题:
如果要在表单中创建一个普通文本框,下列标记中正确的是( )。
A.<input type=”text”>
B.<input type=”password”>
C.<input type=”CheCkbox”>
D.<input type=”radio”>
第6题:
● 下图是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=(44) name=密码><br>
<input type=submit value="发送"><input type=(45) value="重设">
</form>
(44)
A. text
B. password
C. passwd
D. key
(45)
A. send
B. reset
C. restart
D. replace
第7题:
某 html 文档中有如下代码,则在浏览器中打开该文档时显示为( )。 <form> Listl: <input type="text" name="List1" /> <br / > List2: <input type="text" name="List 2 " /> < /form>
A.B.
C.
D.
第8题:
为index.html文件中的(2)~(6)处空缺选择正确答案。(2)~(6)备选答案: A.input type="reset"
B.input type="submit"
C.input type="text"
D.Textarea
E.option F.Select G.radio
第9题:
在HTML页面中,定义了如下的Javascript函数,则正确调用该函数的HTML代码是() function compute(op){ alert(op); }
第10题:
在HTML页面中包含一个按钮控件mybutton,如果要实现点击该按钮时调用已定义的Javascript函数compute,要编写的HTML代码是()。