Hosted by www.Geocities.ws

If you want a whole section of a Web page (multiple paragrph's or a table) to be affected by the same style, you can enclose that section within "div" tags. The div element is a block-level element. It adds structure; however the content inside the tags does not appear visually different when used by itself (unless you style it that way.) Div can be usted to align (left, center, right) and with the id attributes (this text is inside a 'div id' tag.)


The 'span' element, typically used with inline text, can be usted in conjunction with a CSS class. It identifies an individual section of text (e.g. a word or two) for special formatting. For example, if I want to make only certain words bold and green to highlight them, I could create a class to do.
Now, here is an example of bold and green.Another bold and green
Hosted by www.Geocities.ws

1