O'Reilly logo

Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition by Harvey M. Deitel - Deitel & Associates, Inc., Paul J. Deitel - Deitel & Associates, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

G.3. Intermediate XHTML Tables and Formatting

In the preceding section, we explored the structure of a basic table. In Fig. G.2, we enhance our discussion of tables by introducing elements and attributes that allow the document author to build more complex tables.

Figure G.2. Complex XHTML table.
					1
					<?xml version =
					"1.0"
					?>
					2
					<!DOCTYPE html PUBLIC
					"-//W3C//DTD XHTML 1.1//EN"
					3
					"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
					4
					5
					<!-- Fig. G.2: table2.html     -->
					6
					<!-- Intermediate table design -->
					7
					8
					<html xmlns =
					"http://www.w3.org/1999/xhtml">
					9
					<head>
					10
					<title>Internet and WWW How to Program - Tables </title>
					11
					</head>
					12
					13
					<body>
					14
					15
					<h1>Table Example Page</h1>
					16
					17
					<table border = "1">
					18
					<caption>Here is a more complex sample table. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required