第二章单元测试
  1. 字体(font)样式的属性不包括( )。( )

  2. A:font-style B:font-size C:font-italic D:font-family
    答案:font-italic
  3. 要在新窗口打开一个链接指向的网页需用到( )。( )

  4. A:href=”#blank” B:target=”_blank” C:name=”_blank” D:href=”_blank”
    答案:target=”_blank”
  5. 以下哪个属性用来作为一个有序或无序列表项标记的图像?( )

  6. A:list-type B:list-style-type C:list-style-image D:list-image
    答案:list-style-image
  7. 如何能够定义列表的项目符号为实心矩形?( )

  8. A:type:square B:list-style-type:square C:list-type:square D:type:dotted
    答案:list-style-type:square
  9. 可以清除元素两侧的浮动的影响,使用css的属性是( )。( )

  10. A:position:fixed B:clear:both C:clear D:float:all
    答案:clear:both
  11. 使用( )伪对象也可以清除浮动。 ( )

  12. A:next B:before C:first-lette D:after
    答案:after
  13. ( )表示固定定位,相对于浏览器窗口进行定位。( )

  14. A:static B:absolute C:fixed D:relative
    答案:fixed
  15. 可以使用 css 的 ( )属性来设置元素的定位类型。 ( )

  16. A:overflow B:position C:z-index D:float
    答案:position
  17. 定位元素是浮动的正常的文档流之上的,可以用 ( ) 属性来设置 元素的层级。( )

  18. A:float B:z-index C:overflow D:position
    答案:z-index
  19. 表格中设置单元格横跨列数的是( )

  20. A:colspan B:cellpadding C:header D:rowspan
    答案:colspan

点赞(4) dxwkbang
返回
顶部