Page 93 - CA 165 ver 1.0 Class 10
P. 93

Lab Assignment ‘n Activity                            Inter-Disciplinary




                   Complete the following activities and tick on the circle.
                     Write HTML code to design a web page that displays the following:
                       IONS

                         For ions, the charge on a particular atom may be denoted with a superscript. For example Na ,
                                                                                                                +
                       or Cu . The total charge on a charged molecule or a polyatomic ion may also be shown in this
                            2+
                       way. For example: H O  or So  2− .
                                            +
                                          3        4
                         For more complex ions, brackets [ ] are often used to enclose the ionic formula, as in [B H ] ,
                                                                                                               2−
                                                                                                          12  12
                       which is found in compounds such as Cs [B H ]. Parentheses ( ) can be nested inside brackets
                                                             2  12  12
                       to indicate a repeating unit, as in [Co(NH ) ] . Here (NH )  indicates that the ion contains six
                                                                  3+
                                                               3 6           3 6
                       NH  groups, and [ ] encloses the entire formula of the ion with charge +3.
                          3
                       Special Notes:
                       Use the <SUP>, <SUB> and <BLOCKQUOTE> Tags wherever required.



                   <TABLE> TAG
                 Sometimes in a web page, it is necessary to represent the data in a tabular format for better understanding.
                 A table consists of rows and columns. HTML also facilitates displaying tables on a web page.

                 This tag is used to the create table in a web page. It is used within the body of the HTML document.
                 Syntax to use the <TABLE> tag is as follows:

                   <TABLE>
                    ..........................
                   </TABLE>

                 <TR> and <TD> Tags

                 To create a table in HTML (web pages), it is necessary to create rows and columns. The TR (Table Row)
                 tag and TD (Table Data) tag are used to create a grid of rows and enter data in the grid. Syntax to use the
                 <TR> and <TD> tags is as follows:
                   <TABLE>

                   <TR>
                   <TD> Text </TD>
                   <TD> Text </TD>
                    ..........................

                   </TR>
                   </TABLE>








                                                                                            More About HTML      91
   88   89   90   91   92   93   94   95   96   97   98