Span and Div with CSS
The <span> and <div> tags are very useful when dealing with Cascading Style Sheets.
The div tag defines logical divisions (defined) in your Web page. It acts like a paragraph tag, but it divides the page up into larger sections.
The primary attributes of the div tag are:
* style
* class
* id
Span
The span tag has very similar properties to the div tag, in that it changes the style of the text it encloses. But without any style attributes, the span tag won't change the enclosed items at all.
The primary attributes of the div tag are:
* style
* class
* id Read more...
The div tag defines logical divisions (defined) in your Web page. It acts like a paragraph tag, but it divides the page up into larger sections.
The primary attributes of the div tag are:
* style
* class
* id
Span
The span tag has very similar properties to the div tag, in that it changes the style of the text it encloses. But without any style attributes, the span tag won't change the enclosed items at all.
The primary attributes of the div tag are:
* style
* class
* id Read more...