Tables: HTML Codes Within a Table
NOTE: These pages will remain available for your reference, but will not actively be maintained due to UW-Eau Claire's adoption of FrontPage for web publishing.
Table data need not be text; it can be replaced by HTML code which will allow other items to fill the cells of the table. In the first example below, the HTML code for an image takes the place of text in the code for the first cell. In the second example, the HTML code for a hypertext link occurs in place of regular text in the code for each cell in the first column.
Images Within a Table
| Image Within a Table |
Code |
 |
| Your Name |
| username@uwec.edu |
|
<TABLE BORDER="1">
<TR ALIGN=CENTER>
<TD><IMG SRC="image.gif"></TD>
</TR>
<TR ALIGN=CENTER>
<TD>Your Name</TD>
</TR>
<TR ALIGN=CENTER>
<TD>username@uwec.edu</TD>
</TR>
</TABLE>
|
Links Within a Table
| Links Within a Table |
Code |
| Yahoo! |
This is my favorite search site |
| Infoseek |
I like this one, too! |
| Lycos |
Still another excellent search site |
|
<TABLE BORDER>
<TR ALIGN=CENTER>
<TD><A REF="http://www.yahoo.com">Yahoo!</A></TD>
<TD><This is my favorite search site></TD>
</TR>
<TR ALIGN=CENTER>
<TD><A HREF="http://www.infoseek.com">Infoseek</A></TD>
<TD>I like this one, too!</TD>
</TR>
<TR ALIGN=CENTER>
<TD><A HREF="http://www.lycos.com">Lycos</A></TD>
<TD>Still another excellent search site</TD>
</TR>
</TABLE>
|