+ 1

Please what is the difference between block elements and inline element.

25th Dec 2016, 3:22 PM
Emmanuel Donathus Friday
Emmanuel  Donathus Friday - avatar
2 Answers
+ 2
A block element extends widely relative to his parent, when inline get the default width to the smallest size relative to its content. A block provocate a break line before and after him, while inline don't ( think to the <span> element )...
25th Dec 2016, 3:35 PM
visph
visph - avatar
0
a block element (like div, p) uses the full available width. an inline element beside just as much as necessary
25th Dec 2016, 4:35 PM
qobus