What are inline and block elements in HTML
Block elements are elements that take up the full width of their parent container and create a new line after them. Examples of block elements include div, h1-h6, p, and form. Block elements can contain other block and inline elements.
<div>: a cont...
amitk.hashnode.dev2 min read