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

5.   How can columns and rows of a table be spanned?
                     6.   Write  HTML codes to obtain the following output on web page.
























                 C.   Application Based Questions.

                     1.   Aarti is trying to insert an image named ‘Help.jpg’ in a webpage which should be right aligned. Help her
                         by writing the code for the same.

                     2.   Raghav wants to add a video “intro.mp4” on a webpage with height as 20 and width as 50 pixels. Also
                         he wants the video to play automatically when loaded. What should be the one line of code for the same?

                 Previous Years’s Questions




                 Write the HTML code to design .a Web page as shown below:                                 [CBSE, 2022]
                  Roll Number       Name        Marks      Class Average

                        1           Amit          95

                        2           Angel         96             96

                  Teacher Mr. Hamid

                   Consider the specifications as given below. Students can Write the code for any 4 specifications out of the given 5
                 specifications.
                 Specification-1: Use CSS to set the following for the entire body :
                 ●   Text color of the entire page as Tomato.
                 ●   Background color of the entire page as Light blue.

                 ●   Font-family as Helvetica.
                   Specification-2: The ·value of the table border attribute should be 1.   Table  header  tag  should  be  used  wherever
                 required. ·
                   Specification-3: The table should exactly contain 4 rows and 4 columns. The data ih each cell should be as shown in the
                 above table.
                 Specification-4: Attribute rowspan should be used wherever required.
                 Specification-5: Attribute colspan should be used wherever required.




                                                                                            More About HTML      113
   110   111   112   113   114   115   116   117   118   119   120