+ 1

Can you pls tell more about <span> and <div> tags?

13th May 2019, 6:22 AM
A.R. Asshowki Ahamed
A.R. Asshowki Ahamed - avatar
4 Respostas
+ 11
The difference between span and div is that a span element is in-line and usually used for a small chunk of HTML inside a line (such as inside a paragraph) whereas a div (division) element is block-line (which is basically equivalent to having a line-break before and after it) and used to group larger chunks of code
13th May 2019, 6:55 AM
Mr AJX ūüėéūüėą
Mr AJX ūüėéūüėą - avatar
+ 2
Thanks... Melik...
13th May 2019, 6:33 AM
A.R. Asshowki Ahamed
A.R. Asshowki Ahamed - avatar
+ 2
Excellent Ajay!
13th May 2019, 8:23 AM
A.R. Asshowki Ahamed
A.R. Asshowki Ahamed - avatar
0
Did you ever played Lego? Span and div is looks and seems similiar. One piece of Lego is span and a block of Lego is div. So in this example we understand that we should use span inside divs. <div> <div> <span></span> </div> </div> By this you can use css more effectively.
13th May 2019, 6:32 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar