Someone please help me understand span and div? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 2

Someone please help me understand span and div?

8th Aug 2019, 9:58 PM
AR SńēŇē√Į√©Ňõ
AR SńēŇē√Į√©Ňõ - avatar
4 Respuestas
+ 1
div is a block element and spam is a line element.
8th Aug 2019, 10:11 PM
Eze
+ 1
Div is a block level element used as a container for other elements. Span is an inline level element used to contain text, for instance if you want to style a specific piece of text.
8th Aug 2019, 10:49 PM
Paul Grasser
Paul Grasser - avatar
+ 1
Thanks
8th Aug 2019, 11:13 PM
AR SńēŇē√Į√©Ňõ
AR SńēŇē√Į√©Ňõ - avatar