Which of the following values for the display property makes an element a block-level element and also allows other elements to be positioned next to it?
A) block B )inline C)inline-block D)none
Which one is correct? A,B,C or D
Which of the following values for the display property makes an element a block-level element and also allows other elements to be positioned next to it?
A) block B )inline C)inline-block D)none
Which one is correct? A,B,C or D
The answer is C) inline-block.
inline-block. It allows dimensions (height and width) while also allowing items to be positioned next to it.