+ 16

What is the difference between inline and block level elements?

15th Apr 2017, 3:57 AM
Surbhi
Surbhi - avatar
3 Respuestas
+ 10
Block lvl elements appear on different lines Inline elements appear on same line You can have inline elements inside block elements but not the opposite <div> is a block tag <span> is an inline tag
15th Apr 2017, 4:00 AM
Pixie
Pixie - avatar
+ 12
inline elements covers only required space but block covers full width
18th Apr 2017, 4:45 PM
Prashanth Kumar
Prashanth Kumar - avatar
15th Apr 2017, 8:06 AM
DoKittu
DoKittu - avatar