Page 119 - iPlus_Ver_2.0_class_7
P. 119

<TH COLSPAN="2">TAX</TH>
                               <TD>7%</TD>
                               <TD>42.76</TD>

                        </TR>
                        <TR>
                               <TH COLSPAN="3">TOTAL</TH>
                               <TD>653.64</TD>
                        </TR>
                 </TABLE>
                 </BODY>
                 </HTML>

                 The output of the preceding code is shown:



















                                                                                       #Digital Literacy
                                                                                       #Coding & Computational Thinking
                      Let’s CatCh Up



                     Write the names of any four attributes of the <TABLE> tag in HTML.
                   1.                                  2.

                   3.                                  4.







                    To Sum Up


                         A list is a collection of related items.
                         The <LI> tag is used to define an item in the list.
                         Table represents data in the form of rows and columns.
                         The <TR> tag is used to create a row in a table.

                         The <TD> tag is used to insert data into cells.
                          There are three types of lists—ordered, unordered and definition list.





                                                                                                                 117
                                                                                        Lists and Tables in HTML
   114   115   116   117   118   119   120   121   122   123   124