Tuesday, August 4, 2009

DIV tag.

* The DIV tag is used in HTML to add structure to our document by organising components into different sections.
* For example, if we add three div tags into the body of the HTML to divide it up and create a menu section, a content section and a footer section, we can then add CSS styles for each section, e.g. by adding background colours to each, to make the sections of our document really clear.
* We can alos add formatting to several elements at a time this way.

No comments:

Post a Comment