• 2022-06-17
    如果网页内容比较长,在页面滚动时,背景图像也会一起滚动,可以将背景图像设置为固定。设置背景图像固定的属性是()。
    A: background-position
    B: background-attachment
    C: background-repeat
    D: background-image
  • B

    内容

    • 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属性只能用来设置背景图像。