Page 107 - Computer Class 08
P. 107

Adding a Border to the Table

             You can get a quick border around your table by using the HTML border attribute. You
             determine the width of the border using a number. For example                 , for a thin border, use
             the number “1” for a thicker border, use a greater number.

             <html>
             <head>

             <title></title>

             </head>
             <body>

             <table>
             <TABLE  BORDER=“5”>

             <tr>
             <td>Name</td>

             <td>Age</td>
             </tr>

             <tr>
             <td>Class</td>

             <td>Sec</td>
             </tr>

             <tr>
             <td>Address</td>

             <td>Mob</td>

             </tr>
             </table>

             </body>
             </html>

             The web page will appear like this.


















                                                                                    Computer-8             107
   102   103   104   105   106   107   108   109   110   111   112