Difference between HTML Block elements and inline elements ?

In HTML, elements are classified as either “inline” or “block” elements based on how they behave in the document flow and how they…