Monday, February 20, 2012

The span and div Tags

The span and div Tags: "The tag has very similar properties to the
tag, in that it changes the style of the text it encloses. But without any style attributes, the tag won't change the enclosed items at all.

The primary difference between the and
tags is that doesn't do any formatting of it's own. The
tag acts includes a paragraph break, because it is defining a logical division in the document. The tag simply tells the browser to apply the style rules to whatever is within the ."

'via Blog this'