Home Yellow Pages Movies Classifieds Jokes Jobs Free Hosting Videos




Lesson 4

Begin a table with the unordered list.

<TABLE BORDER=3>
<TR>
<TD>Ingredients for Apple Pie
<UL>
<LI>Apples
<LI>Flour
<LI>Sugar
<LI>Cinnamon
</UL>
</TD>
</TR>
</TABLE>

The out put will be as

Ingredients for Apple Pie
  • Apples
  • Flour
  • Sugar
  • Cinnamon

Here all the items will be displayed as an unordered list in a table. In the absence of other instructions, the table will make itself just big enough to contain the data.

To increse the width of table put <TABLE BORDER=3 WIDTH=100%>

Now we need to make a second cell. We want the left cell to be a little smaller than the right one.

<TABLE BORDER=3 WIDTH=100%>
<TR>
<TD WIDTH=40%></TD>
<TD WIDTH=60%>Ingredients for Apple Pie
<UL>
<LI>Apples
<LI>Flour
<LI>Sugar
<LI>Cinnamon
</UL>
</TD>
</TR>
</TABLE>

The out put will be as

Ingredients for Apple Pie
  • Apples
  • Flour
  • Sugar
  • Cinnamon

In the left cell we can place an Apple Pie image aligned to the right side of the cell and turn off the border attribute.

<TABLE BORDER=3 WIDTH=100%>
<TR>
<TD WIDTH=40% ALIGN=RIGHT>
<IMG SRC="http://media.bizhat.com/phptutorial/applepie.gif" WIDTH=150 HEIGHT=138>
</TD>
<TD WIDTH=60%>
Ingredients for Apple Pie
<UL>
<LI>Apples
<LI>Flour
<LI>Sugar
<LI>Cinnamon
</UL>
</TD>
</TR>
</TABLE>

The out put will be as

Ingredients for Apple Pie
  • Apples
  • Flour
  • Sugar
  • Cinnamon
<--BACK        NEXT-->

BizHat.com   Bookmark   Astrology   Chat Room   Classifieds   Computer   Downloads   Directory   Dating   Domain Tools   Education   eCards   Finance   Forums   Freelance Work   Free Hosting   Free Mail   Gallery   Games   Guest Book   Greeting Cards   Ham Radio   Health   Home Business   Hosting Tutorials   Hosting Directory   India   Jobs   Jokes   Kerala   Matrimonial   Music   Movies   News   News Letter   Recipes   Real Estate   Search   SMS   Tourist Guide   Top 100 Sites   Vote Us   Yellow Pages   Arthunkal Church   Site Map  

Google