如果网页内容比较长,在页面滚动时,背景图像也会一起滚动,可以将背景图像设置为固定。设置背景图像固定的属性是()。
A: background-position
B: background-attachment
C: background-repeat
D: background-image
A: background-position
B: background-attachment
C: background-repeat
D: background-image
B
举一反三
- 通过()属性,可以设置表格的背景颜色、背景图像。 A: background B: tr- background C: table- background D: td- background
- 设置CSS背景图片中,用于设置网页元素的背景图像的代码是什么 A: background-image B: background-repeat C: background-color D: background-position
- 以下CSS属性中,哪一个用于设置背景图像? A: background-img; B: background; C: background-image; D: image;
- 能够设置盒子模型的背景属性有( )。 A: 背景颜色background-colo B: 背景图像background-image C: 背景图像平铺background-repeat D: 背景图像位置background-position E: 背景图像固定background-attachment
- 设置表格背景图像的属性是background()
内容
- 0
设置CSS背景图片中,用于设置网页元素的背景图像无背景的代码是什么 A: background-image:repeat; B: background-image:repeat-x; C: background-image:repeat-y; D: background-image:none;
- 1
()是设置固定背景图像的属性。 A: background-attachment B: background-scroll C: background-position D: background-image
- 2
设置网页背景图像需要使用背景图像标签<background>。( )
- 3
网页可以设置背景色和背景图像,设置网页背景图像的属性参数是________。() A: bgcolor B: alink C: text D: background
- 4
CSS中的background属性只能用来设置背景图像。