• 2022-05-31
    要向Applet传递参数,应该在下列drawing.html文件的下划线处填入的选项是() ______; <applet code=DrawImage.class width=100 height=100> </applet> ______;
    未知类型:{'options': ['[param image,"flower.gif"]<', '[param image value= flower .gif]', '[param name= image value="flower .gif"]', '[param name="image"value="flower.gif"]'], 'type': 102}
  • B

    举一反三

    内容

    • 0

      下列哪一项表示的不是按钮。( ) 未知类型:{'options': ['&#91;input type="submit"&#93;', '&#91;input type="reset"&#93;', '&#91;input type="image"&#93;', '&#91;input type="button"&#93;'], 'type': 102}

    • 1

      &#91;jsp:param name=“paramName” value=“paramValue”/&#93;中的name指定参数名,value指定参数值。参数可以是一个或多个值,而这个文件可以是动态文件,也可以是静态文件。

    • 2

      在HTML页面中包含一个按钮控件mybutton,如果要实现点击该按钮时调用已定义的Javascript函数compute,要编写的HTML代码是( )。 未知类型:{'options': ['&#91;input name=”mybutton” type=”button” onClick=”compute” value=”计算”&#93;', '&#91;input name=”mybutton” type=”button” onFocus=”compute()” value=”计算”&#93;', '&#91;input name=”mybutton” type=”button” onClick=”function compute()” value=”计算”&#93;', '&#91;input name=”mybutton” type=”button” onClick=”compute()” value=”计算”&#93;'], 'type': 102}

    • 3

      以下哪一条HTML语句用于设置表格的表框颜色( )。 未知类型:{'options': ['&#91;table bordercolor=”red”&#93;…', '&#91;table bgcolor=”red”&#93;…', '&#91;table background=”/image/pic.jpg”&#93;…', '&#91;td bgcolor=”red”&#93;…'], 'type': 102}

    • 4

      下面代码点击“提交”按钮时会显示被选的复选框的值,代码中下划线处正确的代码为( )。‌​&#91;input type="checkbox" name="aa" value="0" /&#93;0 ‌​&#91;input type="checkbox" name="aa" value="1" /&#93;1 ‌​&#91;input type="checkbox" name="aa" value="2" /&#93;2 ‌​&#91;input type="checkbox" name="aa" value="3" /&#93;3 ‌​&#91;input type="button" onclick="abc()" value="提 交" /&#93; ‌​&#91;script language="JavaScript"&#93;‌​ function abc(){‌​ $("input: ").each(function(){‌​ alert($(this).val())‌​ })‌​ }‌​‌ A: checkbox B: aa C: checked D: :selection