项目六测试
1.

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



A:padding-right:10px;


B:margin:10px 0 0 0;


C:margin:0 10 0 0px; 


D:margin:0 10px; 



答案:D
2.

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


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

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



A:float


B:padding   


C:z-index


D:list-style


4.

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



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

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



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

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