In HTML, a table must start with <table> and end with </table>. Within that table are rows across which will start with <tr> and close with </tr>. Within the table rows are table cells, usually per generation, that open with <td> and close with </td>. Thus simple table formatting will look like this:
<table>
<tr><td>info in here</td></tr>
</table>
If you choose to show your pedigrees in a table, formatting of your table is extremely important - and keeping your information aligned can be a definite challenge! I wouldn't recommend doing more than a three generation pedigree. To do even this you will need to specify the occasional <td> tags to cross more than one column to get to the second and third generation. This is done by inserting COLSPAN=n into your <td> tag, e.g. <td colspan=1> will provide a blank first column and allow you to put data into the second column, where as <td colspan=2> will skip two columns and allow information to be placed into the third column..
Adding remarks tags to your table may help you to keep it all straight and can be done by enclosing remarks within <!--remark here--> tags. A simple pedigree may look like this:
<table>
<!--Sire-->
<tr>
<td colspan=1></td>
<td><font size=-1>Sire:</font>
<br>GC, NW Quin-Jo's Red‘n Reddy</td>
<!--Pedigree of-->
<tr>
<td><font size=-1>Pedigree of:</font>
GC, RW Tailsend Synian</td>
<td colspan=1></td>
<tr>
<!--Dam-->
<tr>
<td colspan=1></td>
<td><font size=-1>Dam:</font>
<br>CH Tailsend Touch of Class</td>
</tr>
</table>
The above HTML code will look like this on a web site:
| Sire:
GC, NW Quin-Jo's Red‘n Reddy |
|
| Pedigree of:
GC, RW Tailsend Synian |
|
| Dam:
CH Tailsend Touch of Class |
If you want a border around each of your cells, you can add border=n to your table tag, e.g. <table border=3>. This will better define the information in each table cell when viewed with a browser, as shown below:
| Sire:
GC, NW Quin-Jo's Red‘n Reddy |
|
| Pedigree of:
GC, RW Tailsend Synian |
|
| Dam:
CH Tailsend Touch of Class |
<td>GC, NW Quin-Jo's Red'n Reddy
<br>0382-258087
<br>Red Abyssinian
</td>
will look like this in a cell of your table:
| GC, NW Quin-Jo's Red'n Reddy
0382-258087 Red Abyssinian |
Note that, if you wish to indent the information after the <br> tags, it will make absolutely no difference to the appearance of your information on your web site. You actually might find it much easier to keep track of information this way. Using tables for your pedigrees is a process that requires much careful planning and a very logical mind.
Users of the program PEDIGREE ( you can downoad a demo copy with a 200 record limit ) have a distinct advantage when it comes to placing pedigrees online. By choosing the visual pedigree display choice as ascii, and with the aid of a nifty little utility program that can redirect information from a printer to a disk file when using the PRINT SCREEN key, a 3 generation visual pedigree can be saved in a format that will allow it to be used on your web site with the <pre></pre> tag, but in a format so that it actually resembles a pedigree printout. The following is a sample of a pedigree:
VISUAL PEDIGREE - PEDIGREE Version 3.12 (c) 1996 Ruskat Cattery
+---------------------------------------------------------------------------+
| +----<3>GC ABYDOS PHOENIX DM |
| | 0382-002662 RED 09/09/1979 |
| +-------<1>GC/NW QUIN-JO'S RED 'N REDDY |
| |SIRE: 0382-258087 RED 11/04/1984 |
| | | CH QUIN-JO'S ROSITA |
| | +----<4>0383-199243 RED |
| GP/RW TAILSEND SYNIAN (7th Best Cat Great Lakes Region 1990-1991 |
| 0382-537372 RED 02/25/1989 |
| (M) | +----<5>CH TAILSEND TA-LEE-HO |
| | | 0380-141969 RUDDY 10/08/1982 |
| |DAM: CH TAILSEND TOUCH OF CLASS |
| +-------<2>0383-422088 RED |
| | TAILSEND SUSSUDIO |
| +----<6>0381-276018 RUDDY 07/15/1985 |
+---------------------------------------------------------------------------+
CH=Champion GC= Grand Champion GP=Grand Premier RW=Regional Winner
One must certainly give extra careful consideration to including pedigrees on a web site, and decide for themselves if the work is really worth the effort.!