Answers for "block vs inline elements html"

1

block vs inline elements html

Block level elements would create a new line of content, stacking on top
of one anther. 
Examples include: 1) Paragraphs; 2) Headings; 3) Lists and list items; 4) Div
and 5) Header, footer, main, section, etc...

Inline elements stay within the flow of what surrounds them. 
Examples include: 1) Links; 2) Strong; 3) Em; 4) Span; and 5) Images
Posted by: Guest on January-24-2022

Browse Popular Code Answers by Language