Understanding Inline vs Block Elements in HTML


Learn the difference between inline elements, which do not start on a new line and only take up as much width as necessary, and block elements, which start on a new line and take up the full width available.

Source Code


This is inline

This is a block-level element
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments