please can someone tell me what is the difference between div tag and span tag ??
Please start new threads instead of posting in old ones.
(This post was originally posted in https://forums.htmlhelp.com/index.php?showtopic=293 )
what is the difference between div and span tags in html?
One is block level and one is inline.
https://htmlhelp.com/reference/html40/block.html
We already talked about this. Use DIV to group things together or when no other block level element fits.
SPAN is similar to DIV in that it lacks features in itself, but it's inline (text level). If you want a word to stand out because it's important, you'd probably use EM and style it to your heart's content.
Just wondering is BOOTSTRAP a part of html also ? what is the difference between html and bootstrap?
You already asked that and I answered it here.
https://forums.htmlhelp.com/index.php?s=&showtopic=60300&view=findpost&p=139399
HTML 5 offers new elements that can be used instead of DIV in many cases. But lets pretend they don't exist.
A typical use of DIV in a HTML 4.01 page could look like this.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)