项目六测试
1.

下面选项中,(      )可以设置网页中某个标签的右外边距为10像素。



A:margin:0 10px; 


B:padding-right:10px;


C:margin:10px 0 0 0;


D:margin:0 10 0 0px; 



答案:A
2.

阅读下面HTML代码,如果期望tabs位于box容器的右下角,则需要添加的CSS样式是(      )。


A:#box { position:relative; } #tabs { position:absolute; right:0; bottom:0; } B:#tabs { position:absolute; right:0; bottom:0; } C:#box { position:relative; } #tabs { position:right bottom; } D:#tabs { position:relative; right:0; bottom:0; } 3.

HTML页面中,要通过无列表符号实现横向的导航菜单,不需要使用到的CSS属性是(      )。



A:list-style


B:z-index


C:float


D:padding   


4.

CSS盒子模型中表示内容与边框间的距离的属性为(      ),表示盒子与其盒子之间的距离的属性为(      )。



A:padding   margin      B:padding   border C:margin   border D:margin    padding   5.

在网页中有一个id为content的div,下面(      )正确设置它的宽度为200像素,高度为100像素,并且向左浮动。



A:#content{width:100px;height:200px;clear:left;} B:#content{width:200px;height:100px;clear:left;} C:#content{width:200px;height:100px;float:left;} D:#content{width:100px;height:200px;float:left;}

温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!
点赞(134) dxwkbang
返回
顶部