Q:

,  are inline, still I can set width and height

Setting width and height on inline elements 'does not apply'
However, input and button are inline elements, still I can set their width and height by means of CSS (in pixels).
Can someone explain the above?

A:

Depending on the version of CSS you are looking at, they are either replaced inline elements or they are display: inline-block;. Either way, height and width do apply.

