Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

<CAPTION ...>

  • ALIGN: alignment of caption to table
 
  • VALIGN: if caption should be above or below table

<CAPTION ...> sets a caption for the table. <CAPTION ...> goes just after the <TABLE ...> tag. It does not go inside a <TR ...>, <TD ...> or <TH ...> element. There should be only one <CAPTION ...> per table. For example, this code creates a table with a caption of "Favorite Foods":

<TABLE BORDER=2 CELLPADDING=3>
<CAPTION>Favorite Foods</CAPTION>

<TR> <TH>Person</TH> <TH>Food</TH> </TR>
<TR> <TD>Ping</TD> <TD>French Toast</TD> </TR>
<TR> <TD>Andy</TD> <TD>Squirrel</TD> </TR>
</TABLE>

which gives us this table:

Favorite Foods
Person Food
Ping French Toast
Andy Squirrel

<CAPTION ...> is rarely used even though virtually every browser in use these days supports it.

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire