网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

在HTML页面中包含一个按钮控件mybutton,如果要实现点击该按钮时调用已定义的Javascript函数compute,要编写的HTML代码是()

  • A、<input name=”mybutton” type=”button” onBlur=”compute()”value=”计算”> 
  • B、<input name=”mybutton” type=”button” onFocus=”compute()”value=”计算”> 
  • C、<input name=”mybutton” type=”button” onClick=”function compute()”value=”计算”> 
  • D、<input name=”mybutton” type=”button” onClick=”compute()”value=”计算”>

参考答案

更多 “在HTML页面中包含一个按钮控件mybutton,如果要实现点击该按钮时调用已定义的Javascript函数compute,要编写的HTML代码是()A、input name=”mybutton” type=”button” onBlur=”compute()”value=”计算” B、input name=”mybutton” type=”button” onFocus=”compute()”value=”计算” C、input name=”mybutton” type=”button” onClick=”function compute()”value=”计算” D、input name=”mybutton” type=”button” onClick=”compute()”value=”计算”” 相关考题
考题 ● 语句(43)用于在HTML表单中添加默认选中的复选框。(43)A. input type=radio name=s checkedB. input type=radio name=s enabledC. input type=checkbox name=s checkedD. input type=checkbox name=s enabled

考题 在网页中创建一个如下图所示的表单控件的HTML代码是(50)。A.<input type="text" name="T1" size="20">B.<textarea rows="1" name="T1" cols="20"></textarea>C.<input type="radio" value="T1" checked name="R1">D.<select size="1" name="T1"></select>

考题 从以下备选答案内为程序中(5)~(9)处空缺部分选择正确答案。(5)A.CreatObject B.Connect C.ExecuteSQL D.Open()(6)A.<body> B.<html> C.<head> D.<table>(7)A.number B.recordnumber C.count D.recordcount(8)A.skip B.end for C.next D.loop(9)A.<input type="submit" name="add" value="添加">B.<input type="post" name="add" value="添加">C.<input type="submit" name="添加" value="add">D.<input type="post" name="添加" value="add">

考题 语句(43)用于在HTML表单中添加默认选中的复选框。A.B. 语句(43)用于在HTML表单中添加默认选中的复选框。A.<input type=radio name=s checked>B.<input type=radio name=s enabled>C.<input type=checkbox name=s checked>D.<input type=checkbox name=s enabled>

考题 阅读下列说明,回答问题1至问题3。【说明】某电子商务网站主页如图6-2所示:以下是该网站主页部分的HTML代码,请根据图6-2将(1)~(5)的空缺代码补齐。<html>(1)非凡商务网站首页(2)<!--(3)file="include/header.asp”--><table width="784" ><tr >...<for…><td width="45%"><input type="text" size="15" maxlength="15"(4)="关键字“ ><select name="action" ><option value="1"(5)>商品名称</option><option value="2 ">商品类别< / option><option value="3" >商品简介</option><option value=" 4 ">详细说明< / option></select><input type="submit" value="立即查询" ><input type="button" value="高级查询" nClick="location.href=' search.asp ' "></rd></form></tr></table></html>

考题 在网页中创建一个如下图所示的表单控件的HTML代码是______ 。A.<input type=“text”name=“T1” size=“20”>B.<textarea rows=“1”name=“T1” cols=“20”></textarea>C.<input type=“radio”value=“T1”checked name=“R1”D.<select size=“1”name=“T1”></sclect>

考题 下图是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.textB.passwordC.passwdD.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=(44) name=密码brinput type=submit value="发送"input type=(45) value="重设"/form(44)A. textB. passwordC. passwdD. key(45)A. sendB. resetC. restartD. replace

考题 某 html 文档中有如下代码,则在浏览器中打开该文档时显示为( )。 form Listl: input type=text name=List1 / br / List2: input type=text name=List 2 / /formA.B.C.D.

考题 在网页中创建一个如图4-5所示的表单控件,其相应的HTML代码是(41)。A.<select size="1" name="T1"></select>B.<textarea rows="2" name="T1" cols="20"></textarea>C.<input type="radio" value="T1" checked name="R1">D.<input type="text" name="T1" size="20">

考题 阅读以下关于网页制作和网页编程的说明,回答问题1至问题4。某公司电子商务网站首页如下图所示。网页制作使用了CSS技术,CSS文件style.css位于发布目录c:\website下的css目录中。下面给出首页的部分代码。<html>< (1) ><title>找东东网—找我喜欢!</title><link (2)=”stylesheet”(3)=”text/css” href=”(4)”/></head><body><form. name=searchinfo method=post nclick=”chkuser.asp”><input name=”textfield” type=”(5)”(6)=”请输入搜索项目” size=”70”maxlength=”50”/><input type=”submit” name=”submit” value=”搜索” /></form><form><input name=”mobile” type=”radio” value=”移动”(7)/>移动<input name=“unicom” type=”radio” value=”联通” />联通<input name=”smart” type=”radio”value=”小灵通”/>小灵通</form>……省略部分代码</body></html>请将上述HTML代码中空缺的部分补充完整。

考题 该商务网站数据库中商品表的部分字段如下:下面是后台修改商品页面的部分表单代码,请根据图和上述字段描述,确定(7)~(9)的表单类型,将答案填写在对应位置。1.<input name="newsbook" type=" (7) " id="nb" value="1"<%if rs1("newsbook")=1 then%>checked<%end if%>>2.<input name="bm" type=" (8) id="bn" size="30" value="<%=rs1("bookname")%>">3.<input type=" (9) " name="go" value="修 改" nClick="return check();">

考题 在网页中创建如下图所示的表单控制的HTML代码是______。A.性别:<input name="rbsex"type="radio"value="男"checked="cbecked"/>男<input name="rbsex"type="radio"value="女"/>女B.性别:<input name="rbsex"type="radio"value="男"checked="checked"/>男<input name="rbsex"type="checkbox"value="女"/>女C.性别:<input name="rbsex"type="checkbox"value="男"checked="checked=">男<input name="rbsex"type="radio"value="女"/>女D.性别:<input name="rbsex"type="checkbox"value="男"checked="checked=">男<input name="rbsex"type="checkbox"value="女"/>女

考题 在HTML页面中,定义了如下的Javascript函数,则正确调用该函数的HTML代码是()  function compute(op){  alert(op);  }A、input name=”a” type=”button” onclick=”compute(this.value)” value=”+” B、input name=”b” type=”button” onclick=”compute(‘-‘)” value=”-” C、input name=”c” type=”button” onclick=”compute(“*”)” value=”*” D、input name=”d” type=”button” onclick=”compute(/ )” value=”/”

考题 在HTML页面中包含一个按钮控件mybutton,如果要实现点击该按钮时调用已定义的Javascript函数compute,要编写的HTML代码是()。A、〈input name=“mybutton” type=“button” onBlur=“compute()” value=“计算”〉B、〈input name=“mybutton” type=“button” onFocus=“compute()” value=“计算”〉C、〈input name=“mybutton” type=“button” onClick=“functioncompute()” value=“计算”〉D、〈input name=“mybutton” type=“button” onClick=“compute()” value=“计算”〉

考题 以下代码可以获取出页面中所有单选按钮的是()。A、$("input:radio")B、$(":radio")C、$(":button")D、$("input[type=’radio’]")

考题 要在表单中添加提交按钮,实现在用户单击“提交”按钮时,自动将表单提交道ACTION属性中指定的位置。下列语句正确的是()。A、FORM  METHOD=”POST” ACTION=http://www.xmission.com INPUT TYPE=”button” VALUE=”提交”NAME=“b1”/FORM B、FORM  METHOD=”POST” ACTION=http://www.xmission.com INPUT TYPE=”reset” VALUE=”提交”NAME=“reset1”/FORM C、FORM  METHOD=”POST” ACTION=http://www.xmission.com INPUT TYPE=”submit” VALUE=”提交”NAME=“submit1”/FORMD、 FORM  METHOD=”POST” ACTION=http://www.xmission.com INPUT TYPE=”submit” VALUE=”提交”NAME=“b1”/FORM

考题 增加列表框的HTML代码是()A、input type=submit/input B、textarea name="textarea"/textarea C、select multiple/select   D、input type=checkbox/input

考题 表单元素重置按钮的代码为()。A、<inputtype="submit"name="..."value="...">B、<inputtype="reset"name="..."value="...">C、<inputtype="button"name="..."value="..."onClick="...">D、<inputtype="radio"name="..."value="...">

考题 要求用JavaScript实现下面的功能:在一个文本框中内容发生改变后,单击页面的其他部分将弹出一个消息框显示文本框中的内容,下面语句正确的是()。A、〈input type="text" onClick="alert(this.value)"〉B、〈input type="text" onChange="alert(this.value)"〉C、〈input type="text" onChange="alert(text.value)"〉D、〈input type="text" onClick="alert(value)"〉

考题 inputid="btnGo"type="button"value="单击我"class="btn"/以下哪个选项能够正确地得到这个标签()。A、$("input[type=’button’]")B、$("#btnGo")C、$(".btnGo")D、$(".btn")

考题 增加表单的多行文本域的HTML代码是()。A、input type=submit/inputB、textarea name="textarea"/textareaC、input type=radio/inputD、input type=checkbox/input

考题 在表单中包含性别选项,且默认状态为“男”被选中,下列正确的是()。A、input type=radio name=sex checked男B、input type=radio name=sex enabled男C、input type=checkbox name=sex checked男D、input type=checkbo xname=sex enabled男

考题 表单元素一般按钮的代码为()。A、<inputtype="submit"name="..."value="...">B、<inputtype="reset"name="..."value="...">C、<inputtype="button"name="..."value="..."onClick="...">D、<inputtype="radio"name="..."value="...">

考题 单选题在HTML页面中包含一个按钮控件mybutton,如果要实现点击该按钮时调用已定义的Javascript函数compute,要编写的HTML代码是()。A 〈input name=“mybutton” type=“button” onBlur=“compute()” value=“计算”〉B 〈input name=“mybutton” type=“button” onFocus=“compute()” value=“计算”〉C 〈input name=“mybutton” type=“button” onClick=“functioncompute()” value=“计算”〉D 〈input name=“mybutton” type=“button” onClick=“compute()” value=“计算”〉

考题 多选题以下代码可以获取出页面中所有单选按钮的是()。A$(input:radio)B$(:radio)C$(:button)D$(input[type=’radio’])

考题 单选题要求用JavaScript实现下面的功能:在一个文本框中内容发生改变后,单击页面的其他部分将弹出一个消息框显示文本框中的内容,下面语句正确的是()。A 〈input type=text onClick=alert(this.value)〉B 〈input type=text onChange=alert(this.value)〉C 〈input type=text onChange=alert(text.value)〉D 〈input type=text onClick=alert(value)〉