Every element has a default display. Block elements (<div>, <p>, <h1>, <section>) start on a new line and stretch the full available width. Inline elements (<span>, <a>, <strong>) flow within a line and are only as wide as their content.
This distinction drives layout. You can't set width/height or top/bottom margins on a pure inline element — switch it to inline-block or block with CSS when you need box control.