Is <li>
an inline or block element? :: block
Is <label>
an inline or block element?inline
Is <input>
an inline or block element? block
Is <li>
an inline or block element? :: block
Is <label>
an inline or block element?inline
Is <input>
an inline or block element? block
Neither - it is a list-item element
Both <label>
and <input>
are inline elements but <form>
and <fieldset>
are block elements that wrap around them
Felgall is correct with <li>
, but you can note that many of hte block element features apply to htis element. E.g. it will respect widths/heights, margins and paddings the way a block would, for the most part.
An input is a replaced element and as such can have dimensions applied (It behaves much like inline-block)
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.