Multiple choice technology web 2.0

If two elements are having same width, height and are positioned at the same position in a webpage, which tag could be used to determine the element that would appear on the webpage?

  1. display

  2. position

  3. z-index

  4. depth

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The CSS z-index property determines the stack order of elements that overlap. Elements with a larger z-index cover those with a smaller z-index. The display and position properties control layout and placement, while depth is not a valid CSS property.