Answer to Question #159716 in HTML/JavaScript Web Application for Aman Jaiswal

Question #159716

Difference b/w inline and block element


1
Expert's answer
2021-02-01T14:50:11-0500

A block element always takes up all of the available space within their parent container and add a line-break after the element (in other words, the next block element starts from the new line). An inline element does not start on a new line and only takes up as much width as necessary. Also, a block element has a top and a bottom margin while an inline element does not.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS