B. 50px
D. list-style
C. font
B. font-size
A.
B.
- aaaaa
- bbbbb
C.
D.
- a
- aaaaa
- b
- bbbbb
[if !supportLists]114. [endif]以下代码p{color:red;}
考试
其中“考试”的样式是
C
A. 红色
B.一般红色一般绿色
C. 绿色
D.黑色
[if !supportLists]115. [endif]在CSS3.0样式中,设置文本行高的属性是以下哪个选项( )
A
A.line-height
B.list-style
C.font-weight
D.text-decoration
[if !supportLists]116. [endif]在CSS3.0样式中,下列属性哪一个能够实现层的隐藏( )
C
A.display:false
B.display:hidden
C.display:none
D.display:" "
[if !supportLists]117. [endif]在CSS3.0样式中,要实现两个div水平排列,最重要的样式属性是( )
D
A.overflow
B.margin
C.width
D.float
[if !supportLists]118. [endif]在CSS3.0样式中,设置边框颜色的属性是以下哪个选项( )
D
A.color
B.border-width
C. border-style
D.border-color
[if !supportLists]119. [endif]text-decoration设置下划线不显示的属性值是以下哪个选项( )
B
A. underline
B. none
C.line-through
D.overline
[if !supportLists]120. [endif]下面哪个CSS3.0属性是用来改变背景颜色( )
A
A. background-color
B. bgcolor
C.color
D. text
[if !supportLists]121. [endif]在CSS3.0中,属性( )可以设置盒子的圆角边框。
A
A.border-radius
B.border
C.radius
D.circle
[if !supportLists]122. [endif]html5 和 CSS3.0 中,关于代码:*{ margin:0px; padding:0px; } 正确的说法是( )
A
A.用于清除浏览器默认的外边距和内边距
B.用于统一所有元素的外边距和内边距
C.用于统一所有类(class)的外边距和内边距
D.优先级非常高,所以要放在第一行
[if !supportLists]123. [endif]在CSS3.0样式中,可以设置所有p元素的字体都变粗的正确语法是( )
C
A.
B.
C.p{font-weight:bold}
D.p{text-size:bold}
[if !supportLists]124. [endif]以下不属于text-align属性的属性值的是( )
D
A.center
B. right
C.left
D.middle
[if !supportLists]125. [endif]以下关于CSS样式属性的说法错误的是( )
C
A. CSS可以控制网页背景图片
B.margin属性的属性值可以是百分比
C.word-spacing可以调整字符间距
D.margin属性可以一次性设置四个方向的边距
[if !supportLists]126. [endif]CSS中设置字体样式属性说法错误的是( )
C
A.font-size设置字体大小
B.text-align设置文本的对齐方式
C. font-type设置字体的类型
D.font-weight用来设置字体的粗细
[if !supportLists]127. [endif]通过css3的( )属性设置字符间距
B
A.repeat-x
B.letter-spacing
C.shadow
D.Radial
[if !supportLists]128. [endif]元素填充上边距用()元素去实现
A
A.padding-top
B.margin-top
C.padding-left
D.padding-bottom
[if !supportLists]129. [endif]字体属性的font-weight属性可以通过( )值设置对字体进行加粗
A
A.bold
B.b
C.strong
D.size
[if !supportLists]130. [endif]表示背景图像apple.gif只在水平方向上平铺的CSS属性定义为( )
B
A.background-repeat:repeat-x
B.background-repeat:repeat-x;
C.background-repeat:repeat-y;
D.bg-repeat:repeat-x;
[if !supportLists]131. [endif]表示背景图像定位的CSS属性为( )
A
A.background-position
B.bg-position
C.background-loction
D.background-seat
[if !supportLists]132. [endif]关于CSS Sprites,说法错误的是( )
D
A.CSS Sprites在国内也称之为CSS精灵,它是一种图片网页应用处理方式
B.CSS Sprites允许将一个页面涉及到的所有零星图片均包含在一张大图中
C.CSS Sprites的实现原理是将一张图片不同区域的图像设置为不同元素的背景
D.不管是否使用CSS Sprites,对服务器的请求次数都是一样的
[if !supportLists]133. [endif]CSS3中,用于设置背景颜色的属性是( )
A
A.background-color
B.color
C.background-image
D.bg-color
[if !supportLists]134. [endif]使用()属性控制背景图片的平铺方式
B
A.bg-repeat
B.background-repeat
C.repeat
D.no-repeat
[if !supportLists]135. [endif]background-position属性的取值范围不包括( )
D
A.关键字
B.百分比
C.像素值
D.十六进制数字
[if !supportLists]136. [endif]若要设置背景图片水平方向上平铺,则需要将background-repeat属性值设置为( )
B
A.repeat
B.repeat-x
C.no-repeat
D.repeat-y
[if !supportLists]137. [endif]若要设置背景图片垂直方向上平铺,则需要将background-repeat属性值设置为( )
D
A.repeat
B.repeat-x
C.no-repeat
D.repeat-y
[if !supportLists]138. [endif]CSS3中,背景色从蓝色到黑色,并且由左到右线性渐变的正确写法是( )
A
A.background:linear-gradient(to right,blue,black)
B.background-posotion:linear-gradient(to right,blue,black)
C.background:linear-gradient(to right bottom,blue,black)
D.background:linear-gradient(-90deg,blue,black)
[if !supportLists]139. [endif]CSS3中,设置文字阴影的正确写法是( )
C
A.text-shadow:v-shadow h-shadow blur color
B.text-shadow:h-shadow v-shadow color blur
C.text-shadow:h-shadow v-shadow blur color
D.text-shadow:v-shadow h-shadow color blur
[if !supportLists]140. [endif]background-repeat属性默认值为( )
A
A.repeat
B.repeat-x
C.no-repeat
D.repeat-y
[if !supportLists]141. [endif]背景图片默认会平铺显示在元素的()
A
A.左上角
B.左下角
C.右上角
D.右下角
[if !supportLists]142. [endif]background-repeat属性的取值范围有( )
ABCD
A.repeat
B.no-repeat
C.repeat-x
D.repeat-y
[if !supportLists]143. [endif]下列属于背景样式属性的有()
ABCD
A.background-color
B.background-image
C.background-repeat
D.background-position
[if !supportLists]144. [endif]rgba方法中左后一个参数0或1分别代表( )
BD
A.数字0
B.完全透明
C.数字1
D.完全不透明
[if !supportLists]145. [endif]关于background-color属性取值,正确的是( )
ABD
A.可以是颜色关键字
B.可以是RGB
C.只能用颜色关键字
D.十六进制数字
[if !supportLists]146. [endif]关于background-image属性修饰正确的是( )
A
A.background-image:url(top.jpg)
B.background-image:top.jpg
C.background-image:(url:top.jpg)
D.background-image:(top.jpg)
[if !supportLists]147. [endif]径向渐变使用的函数是()
B
A.rd-gradient( )
B.radial-gradient( )
C.linear-gradient( )
D.repeating-radial-gradient( )
[if !supportLists]148. [endif]给文字设置阴影,使用属性()
C
A.linear-gradient
B.Sprites
C.text-shadow
D.Radial-gradient
[if !supportLists]149. [endif]给盒子添加阴影,使用属性()
C
A.radial-gradient
B.linear-gradient
C.box-shadow
D.text-shadow
[if !supportLists]150. [endif]linear-gradient的参数不包括( )
D
A.angle
B.direction
C.color-stop
D.url
[if !supportLists]151. [endif]以下属于radial-gradient( )的参数的是( )
ABCD
A.position
B.shape
C.size
D.color-stop
[if !supportLists]152. [endif]设置阴影的模糊半径是通过哪个参数()
A
A.blur
B.h-shadow
C.v-shadow
D.color
[if !supportLists]153. [endif]在设置标签背景图像的同时设定元素的背景颜色将会()
B
A.不会载入图片
B.优先显示背景图片
C.只显示背景颜色
D.啥都没有
[if !supportLists]154. [endif]有时我们为了让背景图片适应标签内容的大小,修改()属性。
D
A.background-color
B.background-image
C.background-repeat
D.background-size
[if !supportLists]155. [endif]标签定位在距其父标签左边50px,上边100px的CSS正确写法是( )
C
A.{position:static;left:50px;top:100px}
B.{position:relative;left:50px;top:100px}
C.{position:absolute;left:50px;top:100px}
D.{position:fixed;left:50px;top:100px}
[if !supportLists]156. [endif]关于块状元素和行内元素,以下说法正确的有()
ABD
A.p、div、table、ul、ol是块状元素
B.img、br、span、a是行内元素
C.块状元素按照从左到右的方式进行排列
D.行内元素设置width 属性、height 属性不能影响元素的大小。
[if !supportLists]157. [endif]CSS解决浮动塌陷的方法有哪些( )
ABC
A.对父级元素设置合适的高度
B.clear:both 清除浮动
C.父级样式中定义overflow:hidden;
D.浮动元素样式中定义overflow:hidden
[if !supportLists]158. [endif]以下关于盒子的描述错误的是()
ABC
A.每一个html元素均可以看作一个盒子
B.每个盒子的边框、填充、边界均包括四个边。
C.每个盒子的四个边可以同时设置,也可以分别设置。
D.盒子的四个边不能同时设置
[if !supportLists]159. [endif]margin:0px auto;修饰的含义是?
B
A.元素垂直居中
B.元素水平居中
C.元素水平垂直居中
D.以上说法都不对
[if !supportLists]160. [endif]元素内容宽120px,高150px,填充10px,边框5px,边距10px,请计算盒子的实际大小是( )
C
A.宽:150px,高:180px
B.宽:135px,高:165px
C.宽:170px,高:200px
D.宽:140px,高:170px
[if !supportLists]161. [endif]相对定位是指()
D
A.相对浏览器重新定位
B.相对上一标签重新定位
C.相对左边标签重新定位
D.相对于标签在文档流中的初始位置重新定位
[if !supportLists]162. [endif]绝对定位以下说法错误的是()
D
A.绝对定位是指将标签放置在绝对坐标位置上
B.绝对定位使标签的位置与文档流无关
C.绝对定位的标签不占据标准文档流空间
D.绝对定位的标签只能参照浏览器来定位
[if !supportLists]163. [endif]每个盒子都有的属性有哪些()
ABCD
A.margin
B.padding
C.border
D.content
[if !supportLists]164. [endif]以下哪些不是display属性的取值( )
CD
A.inline
B.block
C.margin
D.padding
[if !supportLists]165. [endif]CSS中visibility属性的取值有( )
AB
A.hidden
B.visible
C.none
D.block
[if !supportLists]166. [endif]CSS中float属性的取值有( )
ABD
A.left
B.right
C.top
D.none
[if !supportLists]167. [endif]盒子定位分为()
ABCD
A.静态定位
B.相对定位
C.绝对定位
D.固定定位
[if !supportLists]168. [endif]html5盒子所占空间的计算公式为( )
B
A.内容+边距+边框
B.内容+填充+边框+边距
C.内容+边距+填充
D.内容+边框+填充
[if !supportLists]169. [endif]以下代码()将隐藏div内容,并且被隐藏的内容不占屏幕的空间。
B
A.
B.
C.
D.
[if !supportLists]170. [endif]关于盒子之间的位置关系,以下说法正确的有()
AC
A.垂直排列的两个盒子之间的距离是取两者边距中的较大值
B.垂直排列的两个盒子之间的距离是取两者边距之和
C.水平排列的两个盒子之间的距离是取两者边距之和
D.水平排列的两个盒子之间的距离是取两者边距较大值
[if !supportLists]171. [endif]CSS3中,设置元素的上外边距的是( )属性
A
A.margin-top
B.margin-bottom
C.margin-left
D.margin-right
[if !supportLists]172. [endif]CSS3中,设置元素的左外边距的是( )属性
C
A.margin-top
B.margin-bottom
C.margin-left
D.margin-right
[if !supportLists]173. [endif]CSS3中,设置元素的右外边距的是( )属性
D
A.margin-top
B.margin-bottom
C.margin-left
D.margin-right
[if !supportLists]174. [endif]CSS3中,设置元素的下外边距的是( )属性
B
A.margin-top
B.margin-bottom
C.margin-left
D.margin-right
[if !supportLists]175. [endif]在CSS中,盒子内容的大小由( )属性设置
AD
A.height
B.margin
C.border
D.width
[if !supportLists]176. [endif]下列元素中,属于块状元素的是()
ABC
A.
B.
C.
D.
[if !supportLists]177. [endif]下列元素中,属于行内元素的是()
D
A.
B.
C.
D.
[if !supportLists]178. [endif]盒子模型有多个属性,其中元素内容与边框之间的距离通常被称为
A
A.padding
B.content
C.margin
D.border
[if !supportLists]179. [endif]盒子定位中,相对定位说法错误的是()
D
A.相对定位是指相对自己原来的位置重新定位
B.元素仍保持其未定位前的形状
C.原本所占的空间仍保留
D.相对定位不会脱离标准文档流
[if !supportLists]180. [endif]固定定位以下说法正确的是()
A
A.固定定位是相对浏览器来重新定位
B.固定定位不会脱离标准文档流,因为位置不动
C.固定定位使用场合非常多
D.固定定位非常好定位
[if !supportLists]181. [endif]绝对定位以下说法错误的是()
D
A.绝对定位是指元素从文档流完全删除
B.相对于包含块定位
C.包含块必须是非静态定位元素
D.绝对定位只能相对于浏览器重新定位
[if !supportLists]182. [endif]使用表格布局,通常会采用哪些标签()
ACD
A.table
B.tb
C.tr
D.td
[if !supportLists]183. [endif]若要在页面中实现两个div重叠,需要应用样式表定义中的( )
B
A.z-index属性
B.绝对定位和相对定位属性
C.容器属性
D.CSS滤镜
[if !supportLists]184. [endif]清除全部浮动的正确写法是()
B
A.clear:none
B.clear:both
C.clear:left
D.clear:right
[if !supportLists]185. [endif]CSS样式表不可能实现( )功能。
B
A.表现与内容分离
B.兼容所有的浏览器
C.控制图片的精确定位
D.一个CSS文件控制多个页面