Page 255 - DCAP109_GRAPHIC_TOOLS
P. 255

Graphic Tools




                    Notes





                                   Source: http://www.tizag.com/htmlT/tables.php

                                   11.2.1 Rows

                                   A table can contain an infinite number of table rows. Each table row is essentially a table
                                   element itself, with an opening and closing tag <tr> </tr>. If you are working directly in Code
                                   view, you can insert a table row by choosing Insert! Table Objects ! TR or by clicking the Table
                                   Row button in the Tables category of the Insert panel.

                                   11.2.2 Cells


                                   Table columns or cells are also considered child elements of HTML tables. Like table rows, an
                                   HTML table may contain an infinite number of table data cells <td> </td>. In Code view, you
                                   can insert a <td>…</td> pair to define a single table cell by choosing Insert !Table Objects ! TD
                                   or by clicking the Table Data button in the Tables category of the Insert panel.

                                   The HTML Table with Column Spanning

                                   <table border=”1">
                                     <tr>
                                        <th>Month</th>
                                        <th>Savings</th>
                                     </tr>

                                     <tr>
                                        <td>January</td>
                                        <td>$100</td>
                                     </tr>
                                     <tr>
                                        <td>February</td>
                                        <td>$100</td>

                                     </tr>
                                     <tr>
                                        <td colspan=”2">Sum: $180</td>
                                     </tr>
                                   </table>












          248                               LOVELY PROFESSIONAL UNIVERSITY
   250   251   252   253   254   255   256   257   258   259   260