nerdexam
CIW

1D0-61B · Question #2

Consider the following HTML5 code: Also consider the following CSS code: This I-ITML5 and CSS code directs the sidebar background image to:

The correct answer is A. displayat the top-right of the sidebar. Option A is correct because the CSS code likely includes background-position: top right, which is a standard CSS property value that anchors the background image to the top-right corner of its containing element (the sidebar). Option B is wrong because background-position does…

CSS3 Coding

Question

Consider the following HTML5 code:

Also consider the following CSS code:

This I-ITML5 and CSS code directs the sidebar background image to:

Exhibits

1D0-61B question #2 exhibit 1
1D0-61B question #2 exhibit 2

Options

  • Adisplayat the top-right of the sidebar
  • Bdisplay at a height of 129 pixels
  • Cdisplay at the left of the sidebar
  • Ddisplay horizontally

How the community answered

(36 responses)
  • A
    81% (29)
  • B
    3% (1)
  • C
    6% (2)
  • D
    11% (4)

Explanation

Option A is correct because the CSS code likely includes background-position: top right, which is a standard CSS property value that anchors the background image to the top-right corner of its containing element (the sidebar). Option B is wrong because background-position does not control height in pixels - that would require a property like height or background-size. Option C is incorrect because positioning at the "left" would require a value like left or left center, not top right. Option D is wrong because horizontal tiling/repeating is controlled by background-repeat: repeat-x, not by a position value.

Memory tip: Think of background-position values as compass directions on a map - top right literally means the top-right corner. When you see two keyword values together, the first is vertical (top/center/bottom) and the second is horizontal (left/center/right), so top right = upper-right corner.

Topics

#CSS background-position#CSS background-image#sidebar styling#box model

Community Discussion

No community discussion yet for this question.

Full 1D0-61B Practice