阅读代码回答问题,正确的是()。 #head{Position:absolute;Left:9px;Top:12px;Width:200px;Height:60px;Background-color:#FF0000;}A、#head 类选择器B、Position:absolute;绝对定位,页面的元素固定不变C、Width:200px;Height:60px;表示左右和上下边距D、Background-color:#FF0000;背景图片

题目

阅读代码回答问题,正确的是()。 #head{Position:absolute;Left:9px;Top:12px;Width:200px;Height:60px;Background-color:#FF0000;}

  • A、#head 类选择器
  • B、Position:absolute;绝对定位,页面的元素固定不变
  • C、Width:200px;Height:60px;表示左右和上下边距
  • D、Background-color:#FF0000;背景图片

相似考题

4.请根据网页显示的效果图(见图6-3)和网页中的元素说明回答问题。以下是网页部分源代码,请填写______ 处的空格。<html><head>(1)<meta. http-equiv="Content-Type" content="text/html; charset=gb2312"><link hrel="./inc/style.css" rel="stylesheet" type="text/css"><style. type="text/css"><!-- body { margin-left: Opx; margin-top: Opx; margin-right: Opx; margin-bottom: Opx;}.style1 { font-family: Arial, Helvetica, sans-serif; color: FFFFFF; }.style2 {color: FFFFFF}--></style></head><body><br><table width="700" height="420" border="0" align="center" cellpadding="0"cellspacing="1" bgoolor="dddddd"><tr><td valign="top"><table width="700" height="420" border="0" cellpading="0" cellspacing="0" bgcolor="ffff"><tr><td valign="top"><table width="700" border="0" cellpadding="5" cellspacing="0" bgcolor="f1f1f1"><tr><td>欢迎使用员工管理系统</td></tr></table><table width="700" height="80" border="0" cellpadding="0" cellspacing="0"><tr><td><(2)="./images/logotitle. gif" width="700" height="80"></td></tr></table><table width="700" height="38" border="0" cellpadding="0" cellspacing="0" background="./images/bg_link.gif"><tr><td> </td></tr></table><table width="700" border="0" cellspacing="0" cellpadding="0"><tr><td height="280"><IMG height="80" src="./images/logo. gif" width="389"></td><td valigr="bottom"><form. method="post" name="Form. 1"(3)="login. asp"><table width="300" border="0" cellspacing ="0" cellpadding="3"><tr><td>用户名称: </td><td><input name="uid" maxlength="14" size="14" ></td><td>&nisp;</td><td> </td></tr><tr><td>用户密码: </td><td><input type="(4)"name="pwd" maxlength="6" size="14"></td><td> </td><td><input type="(5)"border="0" height="20" src="./images/login.gif" width:"54"></td></tr>(6)

更多“阅读代码回答问题,正确的是()。 #head{Position:absolute;Left:9px;Top:12px;Width:200px;Height:60px;Background-color:#FF0000;}A、#head 类选择器B、Position:absolute;绝对定位,页面的元素固定不变C、Width:200px;Height:60px;表示左右和上下边距D、Background-color:#FF0000;背景图片”相关问题
  • 第1题:

    当position属性的取值为absolute时,可以将元素的定位模式设置为绝对定位


    正确答案:正确

  • 第2题:

    图像在网页显示的代码正确的是()

    • A、<img src="Images/exit.gif"width="69"height="24">
    • B、<imges src="exit.gif"width="69"height="24">
    • C、<img url="Images/exit.gif"width="69"height="24">
    • D、<imge src="Images/exit.gif"width="69"height="24">

    正确答案:A

  • 第3题:

    以下关于width属性和height属性语法格式正确的是()。

    • A、width:15;
    • B、width:60px;
    • C、height:100%;
    • D、height:100;

    正确答案:B,C

  • 第4题:

    position:absolute;表示设置元素()。

    • A、固定定位
    • B、相对定位
    • C、绝对定位
    • D、静态定位

    正确答案:C

  • 第5题:

    以下定位,脱离文档流的是()。

    • A、#box{width:100px ;height:50px;}
    • B、#box{width:100px ;height:50px; postion:absolute}
    • C、#box{width:100px ;height:50px; postion:relative}
    • D、#box{width:100px ;height:50px; position:static}

    正确答案:B

  • 第6题:

    以下代码片断中,属于静态定位的是()。

    • A、#bb{width:100px;position:relative}
    • B、#bb{width:100px;position:static}
    • C、#bb{width:100px;}
    • D、#bb{width:100px;position:absolute}

    正确答案:B

  • 第7题:

    单选题
    以下定位,脱离文档流的是()。
    A

    #box{width:100px ;height:50px;}

    B

    #box{width:100px ;height:50px; postion:absolute}

    C

    #box{width:100px ;height:50px; postion:relative}

    D

    #box{width:100px ;height:50px; position:static}


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

  • 第8题:

    单选题
    名为()的可执行文件,是安装程序。
    A

    Install

    B

    Uninstall

    C

    Readme

    D

    Backup

    E

    Setup


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

  • 第9题:

    单选题
    下列选项中,()是正确的电子信箱地址。
    A

    www.sohu.com

    B

    www#@126.com

    C

    name@tom@com

    D

    wangxiaomin@163.com


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

  • 第10题:

    单选题
    以下代码片断中,属于静态定位的是()。
    A

    #bb{width:100px;position:relative}

    B

    #bb{width:100px;position:static}

    C

    #bb{width:100px;}

    D

    #bb{width:100px;position:absolute}


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

  • 第11题:

    单选题
    缓降器通常是由安全钩、()、绳索、调速器、金属连接件及绳索卷盘组成。
    A

    安全袋

    B

    安全带

    C

    安全锁 搜索


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

  • 第12题:

    单选题
    预算收入缴入()及以上国库均为正式入库。
    A

    乡(镇)国库

    B

    县级支库

    C

    地级中心支库

    D

    国库经收处


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

  • 第13题:

    怎样给一个元素相对定位()。

    • A、position:relative;
    • B、position:absolute;
    • C、position:fixed
    • D、position:static

    正确答案:A

  • 第14题:

    可以将元素的定位模式设置为相对定位方式的是()。

    • A、position:static;
    • B、position:relative;
    • C、position:absolute;
    • D、position:fixed;

    正确答案:B

  • 第15题:

    下列样式代码中,可以实现绝对定位模式的是()。

    • A、position:static;
    • B、position:fixed;
    • C、position:absolute;
    • D、position:relative;

    正确答案:C

  • 第16题:

    设置盒子距离body上边40px,左边60px语法格式正确的是()。

    • A、position:absolute;right:40px;top:60px;
    • B、position:absolute;left:60px;top:40px;
    • C、position:absolute;bottom:40px;right:60px;
    • D、以上都不正确

    正确答案:B

  • 第17题:

    以下代码片断中,属于绝对定位的是()。

    • A、#box{width:100px;height:50px;}
    • B、#box{width:100px;height:50px; position:absolute;}
    • C、#box{width:100px;height:50px; position:static;}
    • D、#box{width:100px;height:50px; position:relative;}

    正确答案:B

  • 第18题:

    确定一个窗体大小的属性是()。

    • A、Width和Height
    • B、Width和Top
    • C、Top和Left
    • D、Top和Height

    正确答案:A

  • 第19题:

    单选题
    阅读代码回答问题,正确的是()。 #head{Position:absolute;Left:9px;Top:12px;Width:200px;Height:60px;Background-color:#FF0000;}
    A

    #head 类选择器

    B

    Position:absolute;绝对定位,页面的元素固定不变

    C

    Width:200px;Height:60px;表示左右和上下边距

    D

    Background-color:#FF0000;背景图片


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

  • 第20题:

    单选题
    UNIX系统下使用compress-c表示()
    A

    把压缩后的文件输出到标准输出设备,不去更动原始文件

    B

    创建一个压缩文件

    C

    压缩文件夹下面的所有文件

    D

    解压文件 搜索


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

  • 第21题:

    单选题
    以下代码片断中,属于绝对定位的是()。
    A

    #box{width:100px;height:50px;}

    B

    #box{width:100px;height:50px; position:absolute;}

    C

    #box{width:100px;height:50px; position:static;}

    D

    #box{width:100px;height:50px; position:relative;}


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

  • 第22题:

    单选题
    NGN系统中,TG和SS之间通过()来识别不同的中继电路。
    A

    群内电路序号

    B

    TIDName

    C

    CIC

    D

    PCM编号 搜索


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

  • 第23题:

    单选题
    以下关于打印报表的叙述正确的是()。 a.打开project文档 b.在“视图”菜单上,单击“报表”命令,弹出“报表”对话框 c.单击所选报表,再单击“选定”按钮,即可得到所需要的报表,然后单击“页面设置”,再“页面设置”对话框可进行页面的方向,大小等的设置 d.单击“打印”,在打印对话款中设置打印选项,并进行打印
    A

    a.b.c.d.

    B

    c.d.b.a

    C

    a.d.c.b

    D

    b.c.d.a


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