[if !supportLists]100. [endif]在选择器中,基本的选择器有()在选择器中,基本的选择器有()
[if !supportLists]101. [endif]导入样式表关键字为()导入样式表关键字为()
[if !supportLists]102. [endif]css的继承性又被定义为什么css的继承性又被定义为什么
[if !supportLists]103. [endif]样式的基本语法不包括下面哪个样式的基本语法不包括下面哪个
[if !supportLists]104. [endif]css选择器的优先级从高到低为( )css选择器的优先级从高到低为( )
[if !supportLists]105. [endif]以下不符合交集选择器写法规范的是()以下不符合交集选择器写法规范的是()
[if !supportLists]106. [endif]以下代码 body { color:red; }以下代码 body { color:red; }
B. 50px
[if !supportLists]107. [endif]以下哪些属性可以设置图像作为列表项目符号()以下哪些属性可以设置图像作为列表项目符号()
D. list-style
[if !supportLists]108. [endif]text-align设置对齐方式的常取值有( )text-align设置对齐方式的常取值有( )
[if !supportLists]109. [endif]margin:1px 3px 4px 5px;分别表示那几个方向的边距设置( )margin:1px 3px 4px 5px;分别表示那几个方向的边距设置( )
[if !supportLists]110. [endif]在CSS3.0样式中,设置文本水平对齐的属性是以下哪个选项( )在CSS3.0样式中,设置文本水平对齐的属性是以下哪个选项( )
C. font
[if !supportLists]111. [endif]在CSS3.0样式中,设置字体大小的属性是以下哪个选项( )在CSS3.0样式中,设置字体大小的属性是以下哪个选项( )
B. font-size
[if !supportLists]112. [endif]以下可以实现文字水平居中显示的标签属性是以下可以实现文字水平居中显示的标签属性是
[if !supportLists]113. [endif]以下列表定义正确的是()以下列表定义正确的是()
A.
B.
- aaaaa
- bbbbb
C.
D.
- a
- aaaaa
- b
- bbbbb
[if !supportLists]114. [endif]以下代码p{color:red;}以下代码p{color:red;}
考试
其中“考试”的样式是
C
A. 红色
B.一般红色一般绿色
C. 绿色
D.黑色
[if !supportLists]115. [endif]在CSS3.0样式中,设置文本行高的属性是以下哪个选项( )在CSS3.0样式中,设置文本行高的属性是以下哪个选项( )
A
-height
-style
-weight
-decoration
[if !supportLists]116. [endif]在CSS3.0样式中,下列属性哪一个能够实现层的隐藏( )在CSS3.0样式中,下列属性哪一个能够实现层的隐藏( )
C
y:false
y:hidden
y:none
y:" "
[if !supportLists]117. [endif]在CSS3.0样式中,要实现两个div水平排列,最重要的样式属性是( )在CSS3.0样式中,要实现两个div水平排列,最重要的样式属性是( )
D
ow
[if !supportLists]118. [endif]在CSS3.0样式中,设置边框颜色的属性是以下哪个选项( )在CSS3.0样式中,设置边框颜色的属性是以下哪个选项( )
D
-width
C. border-style
-color
[if !supportLists]119. [endif]text-decoration设置下划线不显示的属性值是以下哪个选项( )text-decoration设置下划线不显示的属性值是以下哪个选项( )
B
A. underline
B. none
-through
ne
[if !supportLists]120. [endif]下面哪个CSS3.0属性是用来改变背景颜色( )下面哪个CSS3.0属性是用来改变背景颜色( )
A
A. background-color
B. bgcolor
D. text
[if !supportLists]121. [endif]在CSS3.0中,属性( )可以设置盒子的圆角边框。在CSS3.0中,属性( )可以设置盒子的圆角边框。
A
-radius
[if !supportLists]122. [endif]html5 和 CSS3.0 中,关于代码:*{ margin:0px; padding:0px; } 正确的说法是( )html5 和 CSS3.0 中,关于代码:*{ margin:0px; padding:0px; } 正确的说法是( )
A
A.用于清除浏览器默认的外边距和内边距
B.用于统一所有元素的外边距和内边距
C.用于统一所有类(class)的外边距和内边距
D.优先级非常高,所以要放在第一行
[if !supportLists]123. [endif]在CSS3.0样式中,可以设置所有p元素的字体都变粗的正确语法是( )在CSS3.0样式中,可以设置所有p元素的字体都变粗的正确语法是( )
C
A.
B.
C.p{font-weight:bold}
D.p{text-size:bold}
[if !supportLists]124. [endif]以下不属于text-align属性的属性值的是( )以下不属于text-align属性的属性值的是( )
D
B. right
[if !supportLists]125. [endif]以下关于CSS样式属性的说法错误的是( )以下关于CSS样式属性的说法错误的是( )
C
A. CSS可以控制网页背景图片
属性的属性值可以是百分比
-spacing可以调整字符间距
属性可以一次性设置四个方向的边距
[if !supportLists]126. [endif]CSS中设置字体样式属性说法错误的是( )CSS中设置字体样式属性说法错误的是( )
C
-size设置字体大小
-align设置文本的对齐方式
C. font-type设置字体的类型
-weight用来设置字体的粗细
[if !supportLists]127. [endif]通过css3的( )属性设置字符间距通过css3的( )属性设置字符间距
B
-x
-spacing
[if !supportLists]128. [endif]元素填充上边距用()元素去实现元素填充上边距用()元素去实现
A
g-top
-top
g-left
g-bottom
[if !supportLists]129. [endif]字体属性的font-weight属性可以通过( )值设置对字体进行加粗字体属性的font-weight属性可以通过( )值设置对字体进行加粗
A
B.b
[if !supportLists]130. [endif]表示背景图像只在水平方向上平铺的CSS属性定义为( )表示背景图像只在水平方向上平铺的CSS属性定义为( )
B
ound-repeat:repeat-x
ound-repeat:repeat-x;
ound-repeat:repeat-y;
-repeat:repeat-x;
[if !supportLists]131. [endif]表示背景图像定位的CSS属性为( )表示背景图像定位的CSS属性为( )
A
ound-position
-position
ound-loction
ound-seat
[if !supportLists]132. [endif]关于CSS Sprites,说法错误的是( )关于CSS Sprites,说法错误的是( )
D
Sprites在国内也称之为CSS精灵,它是一种图片网页应用处理方式
Sprites允许将一个页面涉及到的所有零星图片均包含在一张大图中
Sprites的实现原理是将一张图片不同区域的图像设置为不同元素的背景
D.不管是否使用CSS Sprites,对服务器的请求次数都是一样的
[if !supportLists]133. [endif]CSS3中,用于设置背景颜色的属性是( )CSS3中,用于设置背景颜色的属性是( )
A
ound-color
ound-image
-color
[if !supportLists]134. [endif]使用()属性控制背景图片的平铺方式使用()属性控制背景图片的平铺方式
B
-repeat
ound-repeat
-repeat
[if !supportLists]135. [endif]background-position属性的取值范围不包括( )background-position属性的取值范围不包括( )
D
A.关键字
B.百分比
C.像素值
D.十六进制数字
[if !supportLists]136. [endif]若要设置背景图片水平方向上平铺,则需要将background-repeat属性值设置为( )若要设置背景图片水平方向上平铺,则需要将background-repeat属性值设置为( )
B
-x
-repeat
-y
[if !supportLists]137. [endif]若要设置背景图片垂直方向上平铺,则需要将background-repeat属性值设置为( )若要设置背景图片垂直方向上平铺,则需要将background-repeat属性值设置为( )
D
-x
-repeat
-y
[if !supportLists]138. [endif]CSS3中,背景色从蓝色到黑色,并且由左到右线性渐变的正确写法是( )CSS3中,背景色从蓝色到黑色,并且由左到右线性渐变的正确写法是( )
A
ound:linear-gradient(to right,blue,black)
ound-posotion:linear-gradient(to right,blue,black)
ound:linear-gradient(to right bottom,blue,black)
ound:linear-gradient(-90deg,blue,black)
[if !supportLists]139. [endif]CSS3中,设置文字阴影的正确写法是( )CSS3中,设置文字阴影的正确写法是( )
C
-shadow:v-shadow h-shadow blur color
-shadow:h-shadow v-shadow color blur
-shadow:h-shadow v-shadow blur color
-shadow:v-shadow h-shadow color blur
[if !supportLists]140. [endif]background-repeat属性默认值为( )background-repeat属性默认值为( )
A
-x
-repeat
-y
[if !supportLists]141. [endif]背景图片默认会平铺显示在元素的()背景图片默认会平铺显示在元素的()
A
A.左上角
B.左下角
C.右上角
D.右下角
[if !supportLists]142. [endif]background-repeat属性的取值范围有( )background-repeat属性的取值范围有( )
ABCD
-repeat
-x
-y
[if !supportLists]143. [endif]下列属于背景样式属性的有()下列属于背景样式属性的有()
ABCD
ound-color
ound-image
ound-repeat
ound-position
[if !supportLists]144. [endif]rgba方法中左后一个参数0或1分别代表( )rgba方法中左后一个参数0或1分别代表( )
BD
A.数字0
B.完全透明
C.数字1
D.完全不透明
[if !supportLists]145. [endif]关于background-color属性取值,正确的是( )关于background-color属性取值,正确的是( )
ABD
A.可以是颜色关键字
B.可以是RGB
C.只能用颜色关键字
D.十六进制数字
[if !supportLists]146. [endif]关于background-image属性修饰正确的是( )关于background-image属性修饰正确的是( )
A
ound-image:url()
ound-image:
ound-image:(url:)
ound-image:()
[if !supportLists]147. [endif]径向渐变使用的函数是()径向渐变使用的函数是()
B
-gradient( )
-gradient( )
-gradient( )
ing-radial-gradient( )
[if !supportLists]148. [endif]给文字设置阴影,使用属性()给文字设置阴影,使用属性()
C
-gradient
s
-shadow
-gradient
[if !supportLists]149. [endif]给盒子添加阴影,使用属性()给盒子添加阴影,使用属性()
C
-gradient
-gradient
-shadow
-shadow
[if !supportLists]150. [endif]linear-gradient的参数不包括( )linear-gradient的参数不包括( )
D
ion
-stop
[if !supportLists]151. [endif]以下属于radial-gradient( )的参数的是( )以下属于radial-gradient( )的参数的是( )
ABCD
on
-stop
[if !supportLists]152. [endif]设置阴影的模糊半径是通过哪个参数()设置阴影的模糊半径是通过哪个参数()
A
B.h-shadow
C.v-shadow
[if !supportLists]153. [endif]在设置标签背景图像的同时设定元素的背景颜色将会()在设置标签背景图像的同时设定元素的背景颜色将会()
B
A.不会载入图片
B.优先显示背景图片
C.只显示背景颜色
D.啥都没有
[if !supportLists]154. [endif]有时我们为了让背景图片适应标签内容的大小,修改()属性。有时我们为了让背景图片适应标签内容的大小,修改()属性。
D
ound-color
ound-image
ound-repeat
ound-size
[if !supportLists]155. [endif]标签定位在距其父标签左边50px,上边100px的CSS正确写法是( )标签定位在距其父标签左边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是块状元素
、br、span、a是行内元素
C.块状元素按照从左到右的方式进行排列
D.行内元素设置width 属性、height 属性不能影响元素的大小。
[if !supportLists]157. [endif]CSS解决浮动塌陷的方法有哪些( )CSS解决浮动塌陷的方法有哪些( )
ABC
A.对父级元素设置合适的高度
:both 清除浮动
C.父级样式中定义overflow:hidden;
D.浮动元素样式中定义overflow:hidden
[if !supportLists]158. [endif]以下关于盒子的描述错误的是()以下关于盒子的描述错误的是()
ABC
A.每一个html元素均可以看作一个盒子
B.每个盒子的边框、填充、边界均包括四个边。
C.每个盒子的四个边可以同时设置,也可以分别设置。
D.盒子的四个边不能同时设置
[if !supportLists]159. [endif]margin:0px auto;修饰的含义是?margin:0px auto;修饰的含义是?
B
A.元素垂直居中
B.元素水平居中
C.元素水平垂直居中
D.以上说法都不对
[if !supportLists]160. [endif]元素内容宽120px,高150px,填充10px,边框5px,边距10px,请计算盒子的实际大小是( )元素内容宽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
g
t
[if !supportLists]164. [endif]以下哪些不是display属性的取值( )以下哪些不是display属性的取值( )
CD
g
[if !supportLists]165. [endif]CSS中visibility属性的取值有( )CSS中visibility属性的取值有( )
AB
e
[if !supportLists]166. [endif]CSS中float属性的取值有( )CSS中float属性的取值有( )
ABD
[if !supportLists]167. [endif]盒子定位分为()盒子定位分为()
ABCD
A.静态定位
B.相对定位
C.绝对定位
D.固定定位
[if !supportLists]168. [endif]html5盒子所占空间的计算公式为( )html5盒子所占空间的计算公式为( )
B
A.内容+边距+边框
B.内容+填充+边框+边距
C.内容+边距+填充
D.内容+边框+填充
[if !supportLists]169. [endif]以下代码()将隐藏div内容,并且被隐藏的内容不占屏幕的空间。以下代码()将隐藏div内容,并且被隐藏的内容不占屏幕的空间。
B
A.
B.
C.
D.
[if !supportLists]170. [endif]关于盒子之间的位置关系,以下说法正确的有()关于盒子之间的位置关系,以下说法正确的有()
AC
A.垂直排列的两个盒子之间的距离是取两者边距中的较大值
B.垂直排列的两个盒子之间的距离是取两者边距之和
C.水平排列的两个盒子之间的距离是取两者边距之和
D.水平排列的两个盒子之间的距离是取两者边距较大值
[if !supportLists]171. [endif]CSS3中,设置元素的上外边距的是( )属性CSS3中,设置元素的上外边距的是( )属性
A
-top
-bottom
-left
-right
[if !supportLists]172. [endif]CSS3中,设置元素的左外边距的是( )属性CSS3中,设置元素的左外边距的是( )属性
C
-top
-bottom
-left
-right
[if !supportLists]173. [endif]CSS3中,设置元素的右外边距的是( )属性CSS3中,设置元素的右外边距的是( )属性
D
-top
-bottom
-left
-right
[if !supportLists]174. [endif]CSS3中,设置元素的下外边距的是( )属性CSS3中,设置元素的下外边距的是( )属性
B
-top
-bottom
-left
-right
[if !supportLists]175. [endif]在CSS中,盒子内容的大小由( )属性设置在CSS中,盒子内容的大小由( )属性设置
AD
[if !supportLists]176. [endif]下列元素中,属于块状元素的是()下列元素中,属于块状元素的是()
ABC
A.
B.
C.
D.![]()
[if !supportLists]177. [endif]下列元素中,属于行内元素的是()下列元素中,属于行内元素的是()
D
A.
B.
C.
D.![]()
[if !supportLists]178. [endif]盒子模型有多个属性,其中元素内容与边框之间的距离通常被称为盒子模型有多个属性,其中元素内容与边框之间的距离通常被称为
A
g
t
[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
[if !supportLists]183. [endif]若要在页面中实现两个div重叠,需要应用样式表定义中的( )若要在页面中实现两个div重叠,需要应用样式表定义中的( )
B
A.z-index属性
B.绝对定位和相对定位属性
C.容器属性
滤镜
[if !supportLists]184. [endif]清除全部浮动的正确写法是()清除全部浮动的正确写法是()
B
:none
:both
:left
:right
[if !supportLists]185. [endif]CSS样式表不可能实现( )功能。CSS样式表不可能实现( )功能。
B
A.表现与内容分离
B.兼容所有的浏览器
C.控制图片的精确定位
D.一个CSS文件控制多个页面
本文发布于:2023-12-08,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:属性标签设置元素