+ 2

Someone please help me understand span and div?

8th Aug 2019, 9:58 PM
AR Sĕŕïéś
AR Sĕŕïéś - avatar
4 ответов
+ 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