Inline and block level elements | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответ
+ 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