Page Structure

Derek Bridge

Department of Computer Science,
University College Cork

Page Structure

Aims:

Content has structure

Sections and articles

Class exercise: section or article?

Nested sections and articles

Sections within sections

Sections within articles

Articles within sections

Articles within articles

Other elements for grouping content together

header
A group of introductory elements
hgroup
A group of adjacent, related headings
footer
Information about the page (author, copyright, etc) or even about its parent section, article,…
nav
A group of page or site navigation links (a navigation menu)
aside
A group of content that is tangentially related to the page or surrounding context (e.g. an advertising sidebar)

Click on these examples

A page might have a header, main content and footer. A page might have a header, navigation menu, main content and footer. The menu might be alongside the main content. A page might have a header, navigation menu, main content and footer. The menu might be atop the main content, after the header. A page might have a header, navigation menu, main content and footer. The menu might be nested within the header. A page might have a header, two navigation menus, main content and footer. The permanent, site-wide navigation menu might be nested within the header. The local, page-specific navigation menu might be alongside the main content. A page might have a header, two navigation menus, main content, an aside and footer. The permanent, site-wide navigation menu might be nested within the header. The local, page-specific navigation menu might be alongside the main content. The aside may be a sidebar along the other side of the main content.

div

What about early browsers?

HTML5