"Tables" for the Faint-of-Heart or
<TABLE> tag
Instead of this "chart" table.......
Table Heading | |||
---|---|---|---|
Table Data | Table Data | Table Data | Table Data |
Table Data | Table Data | Table Data | Table Data |
Table Data | Table Data | Table Data | Table Data |
.....you have an image graphic -
Some body text -
Edward, King of England (Edward the Exile) was born in 1016 A.D. He married in 1044 at Kiev, Ukraine, and had a son, Malcom III, King of Scotland. Malcom was married to St. Margaret, Queen of Scotland. They lived at Edinburgh Castle, Scotland, where he died on 16 Nov. 1093.
Malcom's son was Henry I, King of England, was married to Mathilde, Princess of Scotland.
Henry I was born in 1068 and was the youngest son of William the Conqueror. In 1100, after his older brother died in a hunting accident and the middle brother was in the Holy Land on a crusade, Henry seized the throne.
Henry was a strong and intellectual ruler, believing in the rights of the common man. He issued a "Charter of Liberties" detailing people's rights, and 100 years later this charter became the foundation of the historical Magna Carta.
And you want it set up sorta like a newspaper, with 3 columns.
How do you do it? With a table, of course. So that it looks like this:
|
Edward, King of England (Edward the Exile) was born in 1016 A.D. He married in 1044 at Kiev, Ukraine, and had a son, Malcom III, King of Scotland. Malcom was married to St. Margaret, Queen of Scotland. They lived at Edinburgh Castle, Scotland, where he died on 16 Nov. 1093. Malcom's son was Henry I, King of England, was married to Mathilde, Princess of Scotland. |
Henry I was born in 1068 and was the youngest son of William the Conqueror. In 1100, after his older brother died in a hunting accident and the middle brother was in the Holy Land on a crusade, Henry seized the throne. Henry was a strong and intellectual ruler, believing in the rights of the common man. He issued a "Charter of Liberties" detailing people's rights, and 100 years later this charter became the foundation of the historical Magna Carta. |
<TABLE><TR>
<TD ALIGN=LEFT VALIGN=TOP>
</TD></TR></TABLE>
<TABLE> -
Hey, browser, here comes a table!
<TR> -
It's necessary, so just put it in (it means Table Rows).
<TD ALIGN=LEFT VALIGN=TOP>
<IMG SRC="images/sword1.gif" BORDER=0 ALIGN=TOP ALT="Sword"><BR>
<TD ALIGN=LEFT VALIGN=TOP>
</B></FONT>
<FONT SIZE="3" COLOR="#000000" FACE="ARIAL,GENEVA">
<IMG SRC="images/dot_clea.gif" hspace=8>
Edward, King of England (Edward the Exile)......
<BR>
<IMG SRC="images/dot_clea.gif" hspace=8>
Malcom's son was Henry I, King of England, .......
<BR>
</B></FONT>
<TD ALIGN=LEFT VALIGN=TOP>
</B></FONT>
<FONT SIZE="3" COLOR="#000000" FACE="ARIAL,GENEVA">
<IMG SRC="images/dot_clea.gif" hspace=8>
Henry I was born in 1068 and was the........
<BR>
<IMG SRC="images/dot_clea.gif" hspace=8>
Henry was a strong and intellectual..........
<BR>
</B></FONT>
</TD></TR></TABLE>
<TABLE> <TR>
<TD ALIGN=LEFT VALIGN=TOP>
<TD ALIGN=LEFT VALIGN=TOP>
<TD ALIGN=LEFT -
means align everything under this tag to the far left of this portion of the table.
<TD ALIGN=LEFT VALIGN=TOP> -
means vertically align everything to the top.
In other words, everything under this tag is aligned to the very top and to the far most left.
In the Web page we are developing, I have added a "graphic drawing" of a dog to the portion of the page devoted to Remington. To display it, I added a similar table to the above.
The code is written like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 //EN">
<HEAD>
<BODY BGCOLOR="#99CCFF" LINK="#0000FF" VLINK="#CC33FF">
<CENTER>
<CENTER>
<CENTER>
<CENTER>
<TD ALIGN=LEFT VALIGN=TOP>
<CENTER>
</BODY>
</HTML>
The above code on your Web page would look like this:
Note: If we had put the image before the typed copy, without using the table, then the first line of the typed copy would have appeared to the right of the image, but the next line would have moved to the left border of your Web page, like this:
In the next lesson, we use a table to make space for a Border Set.
<HTML>
<TITLE>Index. htm - My First Web Page</TITLE>
</HEAD>
<FONT SIZE="6" COLOR="#0000FF">
<B>
This web page belongs to Cyberperson.
<BR>
</B>
</FONT>
<P>
<IMG SRC="images/guy-comp.gif"> </P>
<P>
<HR> </P>
<P>
<FONT SIZE="5">
I live in Los Angeles.
<BR>
</P> </FONT> </CENTER>
<FONT SIZE="3" COLOR=#000000">
Los Angeles is the largest city on the west coast. There are over 8 million people living in the area. Surrounded by mountains, and bordered by the Pacific Ocean, you can find more to do here than almost anywhere else in the world!
You can learn more about my city by going to this
<A HREF="http://www.losangeles.com"> Los Angeles link.
</A>
</FONT>
<BR>
<P>
<FONT SIZE="5">
I work for Calliope Studios.
<BR>
</P> </FONT> </CENTER>
<FONT SIZE="3" COLOR=#000000">
Calliope produces titles and introductions to Hollywood movies and TV shows. You can see my work at the beginning of many of the TV shows of today.
</FONT> <BR>
<P>
<FONT SIZE="5">
I have a dog named Remington.
<BR>
</P> </FONT> </CENTER>
<TABLE>< TR>
<TD ALIGN=LEFT VALIGN=TOP>
<IMG SRC="images/dog.gif" HEIGHT=43 WIDTH=100 ALT="Dog graphic">
<FONT SIZE="3" COLOR=#000000">
Remington is a black Labrador Retriever. He loves the water and swims the whole time we go to the beach. He is my very best friend.
I have some photos of Remington which you can see by clicking
<A HREF="remingtn.htm"> HERE.
</A>
</TD> </TR>
</TABLE>
</FONT> <BR>
<P>
<FONT SIZE="5">
My hobbies are cooking and movies.
<BR>
</P> </FONT> </CENTER>
<FONT SIZE="3" COLOR=#000000">
We have friends come over twice a month for a "bring-your-own-dish" party. The food is great and we do a lot of recipe swapping.
If you would like some of my recipes, send me an e-mail by clicking
<A HREF="mailto:your_name@hotmail.com"> HERE.
</A>
<BR>
</FONT>