+ 2
Someone please help me understand span and div?
4 Respuestas
+ 1
div is a block element and spam is a line element.
+ 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.
+ 1
Thanks