在HTML页面上包含如下所示的层对象,则javascript语句document.getElementById(“info”).innerHTML的值是() < div id=”info” style=”display:block”>< p>请填写< /p>< /div>A、请填写               B、<p>请填写</p>  C、id=”info” style=”display:block”  D、<div id=”info” style=”display:block”><p>请填写</p>

题目

在HTML页面上包含如下所示的层对象,则javascript语句document.getElementById(“info”).innerHTML的值是() < div id=”info” style=”display:block”>< p>请填写< /p>< /div>

  • A、请填写               
  • B、<p>请填写</p>  
  • C、id=”info” style=”display:block”  
  • D、<div id=”info” style=”display:block”><p>请填写</p>

相似考题
更多“在HTML页面上包含如下所示的层对象,则javascript语句document.getElementById(“info”).innerHTML的值是() div id=”info” style=”display:block” p请填写 /p /divA、请填写               B、p请填写/p  C、id=”info” style=”display:block”  D、div id=”info” style=”display:block”p请填写/p”相关问题
  • 第1题:

    在JavaScript中,以下( )能隐藏id为flower的div

    A.document.getElementById("flower").style.display="none";

    B.document.getElementById("flower").style.display="hidden";

    C.document.getElementById("flower").style.visibility="none";

    D.document.getElementById("flower").style.visibility="hidden"


    正确答案:AD

  • 第2题:

    在HTML页面上包含如下创建层的语句,那么编写Javascript语句实现显示该层的语句错误的是() < html> < body> < div id=”imageLayer” style=”display:none;”> < img src=”images/Sunset.jpg” width=”200” height=”100”> < /div> < /body> < html>

    • A、document.getElementByTagName(“div”)[0].style.display=”block” 
    • B、document.getElementById(“imageLayer”).style.display=”block”; 
    • C、document.getElementByName(“imageLayer”)[0].style.display=”block”; 
    • D、document.getElementByName(“imageLayer”).get(0).style.display=”block”;

    正确答案:D

  • 第3题:

    如果在HTML页面中包含如下图片标签,则在下划线处添加()代码能够实现隐藏该图片的功能。 < img id=”pic” src=”Sunset.jpg” width=”400” height=”300” _____ >

    • A、 style=”display:visible”; 
    • B、 style=”display:disvisible”; 
    • C、 style=”display:block”; 
    • D、 style=”display:none”; 

    正确答案:D

  • 第4题:

    在HTML中,使用HTML元素的class属性,将样式应用于网页上某个段落的代码如下所示:< P class=“firstp”>这是一个段落< /P> 下面选项中,()正确定义了上面代码引用的样式规则。

    • A、<style type="text/css">P{color:red}</style> 
    • B、<style type="text/css">#firstp {color:red} </style> 
    • C、<style type="text/css"> .firstp{color:red} </style> 
    • D、<style type="text/css">P.firstp{color:red}</style>

    正确答案:C

  • 第5题:

    关于行内样式语法格式正确的是()。

    • A、〈p style="color:red,font-size:14px;"〉行内样式〈/p〉
    • B、〈p style="color=red;font-size:14px;"〉行内样式〈/p〉
    • C、〈p style="color:red;font-size:14px;"〉行内样式〈/p〉
    • D、以上都不正确

    正确答案:C

  • 第6题:

    要给id为P的标签行高设为20像素,代码为:()

    • A、P.style.fontWeight
    • B、P.style.margin
    • C、P.style.lineHeight
    • D、以上都不正确

    正确答案:C

  • 第7题:

    能够定义所有P标签内文字加粗的是()。

    • A、<p style="text-size:bold">
    • B、<p style="font-size:bold">
    • C、p {text-size:bold}
    • D、p {font-weight:bold;}

    正确答案:D

  • 第8题:

    下列代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id=”firstp”>这是一个段落</P>,下面选项中,()正确定义了上面代码引用的样式规则。

    • A、<Style Type=”text/css”> P {color:red} </Style>
    • B、<Style Type=”text/css”> #firstp {color:red} </Style>
    • C、<Style Type=”text/css”> .firstp {color:red} </Style>
    • D、<Style Type=”text/css”> P.firstp {color:red} </Style>

    正确答案:B

  • 第9题:

    现有学生住处表Student_info,其中包括姓名(stu_name),学号(stu_id),成绩(stu_grade)。我们需要查询成绩为80分的学生姓名,要求结果按照学号降序排列。下面查询语句正确的是()。

    • A、SELECT stu_name FROM student_info Where stu_grade=80 ORDER BY stu_id ASC;
    • B、SELECT stu_name FROM student_info WHERE stu_grade=80 ORDER BY stu_id DESC;
    • C、SELECT stu_id,stu_name FROM student_info WHERE stu_grade=80 ORDER BY stu_name ASC;
    • D、SELECT stu_name FROM student_info WHERE stu_grade LIKE 80 ORDER BY stu_id DESC;

    正确答案:B

  • 第10题:

    为了查看Quidway路由器搭建的帧中继网络的封装类型,应启用什么命令?()

    • A、display fr map-info(显示映射表)
    • B、display fr pvc-info(PVC统计信息)
    • C、display fr lmi-info
    • D、display interface

    正确答案:D

  • 第11题:

    单选题
    要给id为P的标签行高设为20像素,代码为:()
    A

    P.style.fontWeight

    B

    P.style.margin

    C

    P.style.lineHeight

    D

    以上都不正确


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    下列代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id=”firstp”>这是一个段落</P>,下面选项中,()正确定义了上面代码引用的样式规则。
    A

    <Style Type=”text/css”> P {color:red} </Style>

    B

    <Style Type=”text/css”> #firstp {color:red} </Style>

    C

    <Style Type=”text/css”> .firstp {color:red} </Style>

    D

    <Style Type=”text/css”> P.firstp {color:red} </Style>


    正确答案: A
    解析: 暂无解析

  • 第13题:

    进程P1、P2、P3、P4和P5的前趋图如下图所示:



    若用PV操作控制进程P1、P2、P3、P4和P5并发执行的过程,则需要设置5个信号量S1.S2.S3.S4和S5,且信号量S1~S5的初值都等于零。下图中a和b处应分别填写( );c和d处应分别填写( ),e和f处应分别填写(请作答此空)。



    答案:B
    解析:
    根据前驱图,P1进程执行完需要通知P2和P3进程,故需要利用V(S1)V(S2)操作通知P2和P3进程,所以空a应填V(S1)V(S2);P2进程执行完需要通知P4进程,所以空b应填V(S3)。根据前驱图,P3进程运行前需要等待P1进程的结果,故需执行程序前要先利用1个P操作,而P3进程运行结束需要通知P5进程。根据排除法可选项只有选项B和选项C。又因为P3进程运行结束后需要利用1个V操作通知P5进程,根据排除法可选项只有选项B满足要求。根据前驱图,P4进程执行结束需要利用1个V操作通知P5进程,故空e处需要1个V操作;P5进程执行前需要等待P3和P4进程的结果,故空f处需要2个P操作。根据排除法可选项只有选项B和选项C能满足要求。根据试题(27)分析可知,P3进程运行结束是利用V(S4)通知P5进程,故P4进程运行结束是利用V(S5)通知P5进程。

  • 第14题:

    functionSelectFather() { div1.style.display=’’; div1.style.left=window.event.clientX+10; div1.style.top=window.event.clientY+10; } 对此方法的意义理解正确的是()。

    • A、div1.style.left是表示div1的左对齐样式
    • B、div1.style.top是表示div1的垂直对齐样式
    • C、div1的位置与鼠标的位置一定有关系
    • D、window.event.clientX是表示滚动条的长度

    正确答案:C

  • 第15题:

    如果在HTML页面中包含如下图片标签,则选项中的()语句能够实现隐藏该图片的功能。 < img id=”pic” src=”Sunset.jpg” width=”400” height=”300”>

    • A、document.getElementById(“pic”).style.display=”visible”; 
    • B、document.getElementById(“pic”).style.display=”disvisible”; 
    • C、document.getElementById(“pic”).style.display=”block”; 
    • D、document.getElementById(“pic”).style.display=”none”;

    正确答案:D

  • 第16题:

    The accounts receivable department requested an accounts status to allow users to enter either a customer name, customer number, customer phone number and then display the customer out standing balance. You want to restrict the data retrieved based on values entered by the users. Which where clause would you write in the query to select statement to accomplish this task?()

    • A、&p_where_clause 
    • B、:p_where_clause 
    • C、WHERE CUST_ID=P_CUST_ID or cust_name=:p_cust_name or cust_phone=:p_cust_phone 
    • D、Where cust_ID=&p_custid cust_name=&p_cust_name or cust_phone=&p_cust_phone

    正确答案:A

  • 第17题:

    以下样式写法正确的是()。

    • A、〈div class=’box’〉〈/div〉
    • B、〈div class=’boxleft’〉〈/div〉
    • C、〈div id=’box’〉〈/div〉
    • D、〈div style=’border:1px solid red’〉〈/div〉

    正确答案:A,B,C,D

  • 第18题:

    代码P.style.borderBottomWidth=2表示()

    • A、设置<p>的边框为2像素
    • B、设置<p>的底边框为2像素
    • C、设置id为P的标签的边框为2像素
    • D、设置id为P的标签的底边框为2像素

    正确答案:D

  • 第19题:

    以下代码中能够实现显示对象的选项的是()。

    • A、obj.style.display;’block’;
    • B、obj.style.display=’block’;
    • C、obj.display=’block’;
    • D、obj.style.display;’none’;

    正确答案:B

  • 第20题:

    以下选项中哪个是给p标签添加颜色的jQuery语法()。

    • A、$("p").css("color","red")
    • B、p.css("color","red")
    • C、p.style.color="red"
    • D、p.style="red"

    正确答案:A

  • 第21题:

    检查AP运行的系统版本的命令是什么()。

    • A、display ap all
    • B、display ap-run-info id x(x是AP的ID编号)
    • C、display ap version id x(x是AP的ID编号)
    • D、display ap update all

    正确答案:B

  • 第22题:

    单选题
    以下代码中能够实现显示对象的选项的是()。
    A

    obj.style.display;’block’;

    B

    obj.style.display=’block’;

    C

    obj.display=’block’;

    D

    obj.style.display;’none’;


    正确答案: B
    解析: 暂无解析

  • 第23题:

    单选题
    代码P.style.borderBottomWidth=2表示()
    A

    设置<p>的边框为2像素

    B

    设置<p>的底边框为2像素

    C

    设置id为P的标签的边框为2像素

    D

    设置id为P的标签的底边框为2像素


    正确答案: B
    解析: 暂无解析