Web Design

(Nancy Kaufman) #1

153


CHAPTER

Laying Out Pages 6


TIP


Can I have nested groups?
Yes. Many sites have nested sections or groups on the page. For example, you might want to place your
main navigation within the header section. In this case, you would group the elements of the navigation
with a <div> tag, and then include that group inside the header’s <div> tag. You might also have logical
groups in any of the other sections. You can nest groups as many levels deep as you need.

4 Repeat Steps 2 and 3 to add
additional

tags
around other logical groups
of elements on your page.


The page is divided into
sections.


3 At the end of the section,
type

.


3


4

Free download pdf