HTML5 Application Development Fundamentals — Question 16
Which two CSS properties can be used to position multiple HTML elements next to one another? (Choose two.)
Answer options
- A. display
- B. position
- C. overflow
- D. float
Correct answer: B, D
Explanation
The correct options are 'position' and 'float' because 'position' allows elements to be positioned relative to their normal position, enabling side-by-side layout, while 'float' is specifically used to wrap text around elements, effectively placing them next to each other. 'display' affects the layout type but does not directly position elements, and 'overflow' manages content that exceeds an element's box, without positioning capabilities.