Loading

Quipoin Menu

Learn • Practice • Grow

html / Inline Element
mcq
Direction: Choose the correct option

Q1.

What is an inline element in HTML?
A. An element that cannot contain text
B. An element that does not start on a new line and only takes as much width as necessary
C. An element that fills all width
D. An element that starts on a new line
Direction: Choose the correct option

Q2.

Which of the following is an inline element?
A. <p>
B. <h1>
C. <span>
D. <div>
Direction: Choose the correct option

Q3.

<span>First</span>
<span>Second</span>
How will these spans appear?
A. Next to each other on same line
B. Stacked vertically
C. On separate lines
D. Not visible
Direction: Choose the correct option

Q4.

Which CSS property is ignored for inline elements?
A. font-size
B. background
C. color
D. width and height
Direction: Choose the correct option

Q5.

Which of these is NOT an inline element?
A. &lt;strong&gt;
B. &lt;em&gt;
C. &lt;a&gt;
D. &lt;div&gt;