HTML - Basic Question

Hello student’s I have this basic question for you.

What is Block element, Inline element, Inline-block element.
What’s the difference between Inline and Inline Block?


inline elements are those elements in html that takes only the required space and block elements take the whole line for a single word also. And if we use the css property display: inline-block then all the block elements comes in a single line.


Great! Also do remember that you can not change width and height of inline elements but with inline-block , you can change the width and height of elements as you do in block elements.