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

Chapter Eight. XHTML by Example: A Hybri... > Navigational Markup: The First Table

Navigational Markup: The First Table

What follows is the navigation section, from the body element on. To keep things interesting, we'll tell you in advance that this portion of the markup, although it validates, commits a “sin” of nonpresentational markup purity. See if you can spot the sin.

<body bgcolor="#ffffff">
<div class="hide"><a href="#content" title="Skip navigation." accesskey="2">Skip navigation</a>.</div>
<table id="nav" summary="Navigation elements" width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="3" id="home" width="400"><a href="/" title= "i3Forum home page."><img src="images/logo.gif" width="400" height="75" border=""0" alt="i3forum home" /></a></td>
<td width=""100" height="25" id="events"><a href=" "events.html">Events</a></td>
<td width="100" height="25" id="schedule"><a href= "schedule.html">Schedule</a></td>
</tr>
<tr id="nav2">
<td width="100" height="25" id="about"><a href= "about.html">About</a></td>
<td width="100" height="25" id="details"><a href= "details.html">Details</a></td>
</tr>
<tr id="nav3">
<td width="100" height="25" id="contact"><a href= "contact.html">Contact</a></td>
<td width="100" height="25" id="guestbios"><a href= "guestbios.html">Guest Bios</a></td>
</tr>
</table>
						

					  


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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