List the styles commonly used to create and place a background image on a Web page.

What will be an ideal response?

To create a background image that is half the width and height of the containing element, centered vertically and horizontally, and not tiled, you could apply the following styles:
background-position: center center;
background-repeat: no-repeat;
background-size: 50% 50%;
In the box model discussed earlier, every element contains a content box, a padding box, and a border box. You can define the extent of a background image or color using the style
background-clip: box;
where box is content-box, padding-box, or border-box (the default).

Computer Science & Information Technology

You might also like to view...

Footnotes are placed at the end of a document.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

In the PMT function, what is not true about the type argument?

A. It is often filled in with zero. B. It is often left blank. C. It is required. D. It is optional.

Computer Science & Information Technology