HTML question detail
What is the difference between block and inline elements?
Block elements usually start on a new line and take full available width by default, such as div, p, and section.
Inline elements flow within text content and take only necessary width, such as span, strong, and a.