A.Background-repeatB.Background-positionC.Background-colorD.Background-attachment
单项选择题在CSS样式表中,代码“内容 所应用的样式属于()。
A.行内样式表B.嵌入样式表C.外部样式表D.层叠样式表
单项选择题在css样式表中,以下标签选择器“”、类选择器“.one”同时使用时才会有特殊效果,可以使用()实现。
A.选择器集体声明B.选择器嵌套声明C.选择器组合声明D.选择器混合声明
单项选择题在html页面中,包含超链接标签,若要实现鼠标移上去“超链接”变成红色,应使用的样式代码为()
A.a:visited{color:red;}B.a:hover{color:red;}C.a:active{color:red;}D.a:link{color:red;}
多项选择题在html中,指定图片存放位置时,下列属于绝对路径的是()。
A.<img src="D:\benet\bdqn.jpg"alt=""title=""/>B.<img src="http://www.benet.com/bdqn.jpg"alt=""title=""/>C.<img src="../bdqn.jpg"alt=""title=""/>D.<img src="./bdqn.jpg"alt=""title=""/>
多项选择题在css中,以下关于float和clear属性的说法错误的是()。
A.元素的左浮动效果和文本左对齐效果两者本质完全一样B.clear的作用是清除浮动,或者说是不允许元素左右侧出现浮动元素C.浮动总是依次填充常规文档流所在行的最左侧或最右侧D.“clear:left;”具体含义是如果前一元素存在左浮动,并且为块元素,则分行区隔开
单项选择题以下关于css优点的说法中,错误的是()。
A.结构与样式分离的方式,便于后期维护与改版B.样式定义精确到像素的级别C.可以用多套样式,使网页有任意样式切换的效果D.可以在网页中显示时间和日期
单项选择题在制作背景图片变换超链接的代码中display:block代表的是什么意思()。
A.设置超链接的背景图片B.将显示为块级元素,前后会带有换行符C.设置边框样式D.设置字体样式
单项选择题在html中,标签的作用为()。
A.插入水平分隔线B.插入图C.插入背景D.插入表格
单项选择题在css样式表中,对于同样的标签的同一属性,不符合其优先级规则的是()。
A.ID选择器样式>类选择器样式>标签选择器样式表B.CSS行内样式优先级最高C.类型相同的时候,先应用的优先级较高所以先应用的生效D.类型相同的时候,后应用的优先
单项选择题在css样式表中,如果背景颜色为黑色的,其background-color属性为()。
A.#000000B.#ffffffC.00ff00D.Ff00