• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Basic (X)HTML Structure > Breaking up a Page into Divisions

Breaking up a Page into Divisions

Breaking up your page into divisions allows you to apply styles to an entire chunk of your page at once. This is particularly useful for designing layouts with CSS (see page 175).

To break up a page into divisions

1.
At the beginning of the division, type <div.

2.
If desired, type id=“name”, where name uniquely identifies the division.

3.
If desired, type class=“name”, where name is the identifying name of the class that the division belongs to.

4.
Type > to complete the opening div tag.

5.
Create the contents of the division.

6.
At the end of the division, type </div>.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint