G.9. frameset Element

All of the Web pages we present in this book have the ability to link to other pages, but can display only one page at a time. Frames allow a Web developer to display more than one XHTML document in the browser simultaneously. Figure G.9 uses frames to display the documents in Fig. G.8 and Fig. G.10.

Figure G.9. XHTML frames document with navigation and content.
					1
					<?xml version = "1.0" ?>
					2
					<!DOCTYPE html PUBLIC
					"-//W3C//DTD XHTML 1.0 Frameset//EN"
					3
					"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
					4
					5
					<!-- Fig. G.9: index.html -->
					6
					<!-- XHTML Frames I -->
					7
					8
					<html xmlns =
					"http://www.w3.org/1999/xhtml">
					9
					<head>
					10
					<title>Internet and WWW How to Program - Main</title>
					11
					<meta name =
					"keywords"
					content =
					"Webpage, ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.