// References / HTML DIV Tag

Posted The: 14/05/2008 - AT: 14:23

Edited The: 15/08/2008 - AT: 20:49

The division "<div>" tag is used to devide a page into sections. Divisions are usualley used togetter with other block-level elements, instead of tables. This efficiently reduce the filesize, and makes it easier to update pages.

Example:

Note: There is an example of a 3-column layout, using a single division, and ordered lists instead of tables. See: Using Block Elements and Divisions Instead of Tables.

<body>
    <div id="Basement">
    </div>
</body>

Divisions goes in the Body section as seen above.

The above division, has a unique ID, which we may refer to in the CSS. Use classes for recurring divisions.

Stumble It!

Author: BlueBoden

Comments: [0]

  1. HTML Tutorial
  2. CSS Tutorial
  3. XHTML Tutorial
  4. RSS Tutorial
  5. PHP Tutorial
  6. htaccess Tutorial
  7. Server Tutorial
  8. SEO Tutorial

Checked At:05:33

2 Guests

0 Users

Online doing the past 15 Minutes!

PageRanking.dk - Flere hits og højere PageRank - GRATIS tilmelding!

This page was created in 0.0851209163666 seconds

Welcome Guest