+ 2

Inline and block level elements

What is the difference between inline and block level elements?

8th Mar 2017, 4:17 AM
Prasannakumar naik
Prasannakumar naik - avatar
1 Answer
+ 1
inline like <span> only affect the surrounding information. they dont affect the look of the page. block elements will start from the bottom of the parent or sibling element. it will force the next element to be below it. hope this helps
8th Mar 2017, 5:57 AM
Michael Szczepanski
Michael Szczepanski - avatar