Page 234 - DCAP109_GRAPHIC_TOOLS
P. 234

Unit 10: Working of Web Designing




                <td>January</td>                                                                Notes
               <td>$100</td>
             </tr>
          </table>


          </body>
          </html>
























          BGCOLOR for Table Notes

          It specifies the background color for a table.


                 Example: <TABLE BGCOLOR= “#FFCC66”>
                      <TABLE BGCOLOR= “red”>
                            <TABLE BGCOLOR= “rgb(x,y,z)”>

          Colspan and Rowspan

          It is possible to have data to be in more than one cell, either horizontally or vertically. These tags
          are the Colspan and Rowspan tags. Colspan attribute defines the number of columns a cell
          should span and Rowspan attribute defines the number of rows a cell should span.


                 Example: <td colspan=”number” rowspan=”number”>

          Nested Table

          We can create  a table within another table. Let us show this through an example.


                 Example:
          <table>
          <tr>




                                           LOVELY PROFESSIONAL UNIVERSITY                                   227
   229   230   231   232   233   234   235   236   237   238   239