Span and div tags
What’s the main difference between span and div tags? And are they of any significance in one’s code?
div is display block. Span has no style.
yes, there is a difference: span = inline element div = block element
div tag uses for make a seprate work area for your code..... where span is just uses for perform opaeration on the code which you write. ..suppose you have written a line " i am an computer engineer" for performing operation on "computer" word we uses span whereas div uses for make parts of your webpage like you want to put social media link on left side of your web page then
Thank you guys so much!!