Loading

Quipoin Menu

Learn • Practice • Grow

Direction: Choose the correct option

Q1.

What is the main difference between inline and inline-block elements?
A. both are same
B. inline-block ignores margin
C. inline-block respects width and height
D. inline respects width
Direction: Choose the correct option

Q2.

.box {
display: inline-block;
width: 100px;
height: 100px;
background: red;
}
How will multiple .box elements appear?
A. Side by side horizontally
B. Overlapping
C. Invisible
D. Stacked vertically
Direction: Choose the correct option

Q3.

Which display value is best for creating horizontal navigation menus?
A. flex
B. inline
C. inline-block
D. block
Direction: Choose the correct option

Q4.

span {
display: inline-block;
width: 50px;
height: 50px;
background: blue;
}
Will this CSS work on a span element?
A. Only with divs
B. Yes
C. Only in some browsers
D. No
Direction: Choose the correct option

Q5.

What is a common issue with inline-block elements?
A. Not responsive
B. Can't set width
C. White space between elements
D. No margin support