Difference between Block and inline level elements
Nearly all HTML elements are either block or inline elements. The characteristics of block elements include:Always begin on a new lineHeight, line-height and top and bottom margins can be manipulatedWidth defaults to 100% of their containing element, unless a width is specifiedIgnores the vertical-align propertyInline elements on the other hand have the opposite characteristics:Begin on the same lineHeight,
Read more