Beginner’s guide to CSS display properties : inline ,block, inline-block

If you have been using HTML, you would have definitely come across tags like <div>,<span>,<p>,<a> and many more. But, did you take the time to understand how the content is being displayed in these elements? Or did you notice the different ways that these elements treat properties like padding, margin, width, and height. In this article, we will dive deeper into these aspects of elements.

Let’s start with understanding what is display property? As the name suggests, display property controls the display…