p elements have their default
display set to
block. Some more block-level elements are the heading elements -
Block elements start on a new line, occupy 100% width by default, and can have
width properties and also have functional
margin on all four sides.
We can make elements like
img behave like block-level elements by setting their
display property to
As can be seen,
behave like block elements after their
property is set to block. They start in a new line
and occupy all the available width.