css, span and divstylesheets and span both div and span have no real meaning as html tags and only serve any use when a stylesheet is applied<span> is an inline element, which means it can start on the same line (like the font tag) and the <div> is a block level element, which means it must start on a new line (like a html table) an example of span...
<span>this is span</span> div and stylesheets div, short for division, is an exellent way to very quickly add blocks of color to a html documentdiv can contain other block level elements, including tables div seems to work best with a class an example of div
|
![]() css tutorial |