0
Span display:block
On the tutorial there are breaks in between each line. But when I run it there are none. <span>line something whatever</span> <span>second line blah blah blah</span> And the css code Span{ display : block; } Can someone tell me why?
1 ответ
+ 5
That means the text inside the span tag will be behave like a block level Element.
After the span tag, text automatically will be go to the next line, in case if you not set the width.