多项选择题
背景属性的缩写语法正确的是()
A.{background:#00ff00url(背景图片的路径及全称)no-repeat center top;}
B.{background:url(背景图片的路径及全称)#00ff00no-repeat center top;}
C.{background:url(背景图片的路径及全称)#00ff00center top no-repeat;}
D.{background:url(背景图片的路径及全称)no-repeat center top;}
点击查看答案&解析
相关考题
-
单项选择题
在html中,为网页添加标题。并且标题显示在状态栏上的标签为()
A.head
B.html
C.h1
D.title -
单项选择题
为了让以下id为container的div能够水平居中,需要的CSS样式是()
A.#container{width:880px;padding:0px auto;}
B.#container{width:880px;padding:auto 0px;}
C.#container{width:880px;margin:auto 0px;}
D.#container{width:880px;margin:0px auto;} -
单项选择题
关于背景图和img的说法正确的是()
A.背景图和img一样,都是在网页中占空间的
B.背景图的显示需要根据其所在元素的区域显示
C.背景图和img都属于对页面样式的渲染
D.img标签在页面中和背景图都是不占据空间的
