Make your own free website on Tripod.com
.JavaScrip
 
    BODY TAGS in HTML
    TABLES
Body tags          Tables are used to make data easier to interpret or to just give your document more impact.

Example:

<body>
<table border=4>
        <TR> 
               <TD>1row<br>1column</TD>
               <TD>1row<br>2column</TD>
        </TR> 
       <TR> 
              <TD>2row<br>1column</TD>
                <TD>2row<br>2column</TD>
        </TR>
</table>
</body>
     If the border=0, than the table's border is invisible! Usually when you do not use the border attribute the table border will become invisible. This is useful when you want to align text in rows and columns, but don't want a table border around it. 
    border=1 is a thin border. border=2 is a little thicker, border=3 a little more thick.. and so on. 

     The table heading tag makes the text in that cell BOLD and CENTERED

    Example:

    <body>
      <table border=2>
        <tr>
          <th>Heading1</th><th>Heading2</th><th>Heading3</th>
        </tr>
        <tr>
           <td>Cell 1.1</td><td>Cell 1.2</td><td>Cell 1.3</td>
        </tr>
        <tr>
           <td>Cell 2.1</td><td>Cell 2.2</td><td>Cell 2.3</td>
        </tr>
      </table>
    </body>

    Lets add the attributes.

Example:
     
    <table border=1 width=70%>
         <tr>
            <td align=left>Left Alignment</td>
            <td align=center>Center Alignment</td>
            <td align=right>Right Alignment</td>
         </tr>
      </table>
go to index file