Page 123 - iPrime_V2.2_class7
P. 123

4.  Tables represent the data in the form of rows.                               ................................

                    5.  The border-color property allows you to apply a colour to the border.        ................................

                 C.  Fill in the blanks using the words given below:
                                          Hints


                                            disc, TYPE, <TH>, border-style, Table Data , START


                    1.  The <OL> tag has two attributes named                          and                      .
                    2.  The default bullet style is                    in HTML.

                    3.                      tag is used for defining table headings.
                    4.  The                     property is used to apply outline style of border of the table.
                    5.  The <TD> tag stands for                        .




                  Let's Do            It                                                    Section B (Subjective)



                 A.  Short answer type questions.

                    1.  Why do we use the <UL> tag?
                    2.  Convert  the following line of code to display the items  in an ordered  list  with small
                       alphabets:

                      <UL TYPE ="square">

                 B.  Long answer type questions.
                    1.  What is the use of the border-spacing property in a table? Write its syntax.

                    2.  Write the CSS code to apply the following properties of a table:

                      Border - 3px
                      Colour of the border - red

                      Border spacing - 10px

                      Padding - 15

                    3.  How is ROWSPAN attribute used? Give an example.

                 C.  Application-based questions.
                    1.   Nisha has been assigned a task to create a grade report table showing the performance of
                       the students of her class. She wants to highlight specific students who have exceptional
                       grades by merging cells to span multiple rows. Which attribute should she use?

                    2.   Rakesh has created a table on a web page. He wants to change its
                       background colour by  using CSS. Which property will  you  suggest  he
                       should use to do so?


                                                                                      Lists and Tables in HTML     121
   118   119   120   121   122   123   124   125   126   127   128