第二章单元测试
- 字体(font)样式的属性不包括( )。( )
- 要在新窗口打开一个链接指向的网页需用到( )。( )
- 以下哪个属性用来作为一个有序或无序列表项标记的图像?( )
- 如何能够定义列表的项目符号为实心矩形?( )
- 可以清除元素两侧的浮动的影响,使用css的属性是( )。( )
- 使用( )伪对象也可以清除浮动。 ( )
- ( )表示固定定位,相对于浏览器窗口进行定位。( )
- 可以使用 css 的 ( )属性来设置元素的定位类型。 ( )
- 定位元素是浮动的正常的文档流之上的,可以用 ( ) 属性来设置 元素的层级。( )
- 表格中设置单元格横跨列数的是( )
A:font-style B:font-size C:font-italic D:font-family
答案:font-italic
A:href=”#blank” B:target=”_blank” C:name=”_blank” D:href=”_blank”
答案:target=”_blank”
A:list-type B:list-style-type C:list-style-image D:list-image
答案:list-style-image
A:type:square B:list-style-type:square C:list-type:square D:type:dotted
答案:list-style-type:square
A:position:fixed B:clear:both C:clear D:float:all
答案:clear:both
A:next B:before C:first-lette D:after
答案:after
A:static B:absolute C:fixed D:relative
答案:fixed
A:overflow B:position C:z-index D:float
答案:position
A:float B:z-index C:overflow D:position
答案:z-index
A:colspan B:cellpadding C:header D:rowspan
答案:colspan