CSS 测验题

通过对CSS 教程系统地学习,相信你已全面掌握 CSS 列表样式知识点,为了巩固所学的内容,我们准备了一个小测验。

通过这个测验,您可以检验自己对 CSS 的掌握程度,发现可能需要进一步巩固的地方。


  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12

1. 哪个CSS属性用于更改列表项标记的类型?

  • list-type
  • list-style-type
  • list-mark
  • list-item

2. 如何将列表项标记设置为无(即不显示标记)?

  • list-style: none;
  • list-type: none;
  • list-style-type: none;
  • list-mark: none;

3. 哪个CSS属性用于设置列表项标记的图像?

  • list-style-image
  • list-image
  • marker-image
  • item-image

4. 如何将列表项标记设置为方形?

  • list-style: square;
  • list-type: square;
  • list-mark: square;
  • list-style-type: square;

5. 哪个CSS属性用于控制列表项标记的位置?

  • list-position
  • list-style-position
  • marker-position
  • item-position

6. 如何将列表项标记放在列表项内容的外部?

  • list-position: outer;
  • list-style: outside;
  • list-style-position: outside;
  • marker-position: outside;

7. 哪个CSS属性可以一次性设置所有列表样式属性?

  • list-style
  • list-all
  • list-property
  • list-format

8. 如何将列表项标记设置为自定义图像?

  • list-image: url('image.png');
  • marker-image: url('image.png');
  • list-style: url('image.png');
  • list-style-image: url('image.png');

9. 哪个CSS属性用于将列表项标记设置为罗马数字?

  • list-type: roman;
  • list-style-type: upper-roman;
  • list-mark: roman;
  • list-style: roman;

10. 如何将列表项标记设置为小写字母?

  • list-style: alpha;
  • list-type: lower-alpha;
  • list-style-type: lower-alpha;
  • list-mark: alpha;

11. 哪个CSS属性用于设置列表项标记的颜色?

  • color
  • marker-color
  • list-color
  • item-color

12. 如何将列表项标记设置为圆形?

  • list-style: circle;
  • list-type: circle;
  • list-mark: circle;
  • list-style-type: circle;