Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 135 - 2612_Digimind
P. 135

    Periodic Assessment                         3

                                                        (Based on chapters 7 & 8)

                     1.  Write the uses of the following HTML attributes of <IMG> tag:

                        a.  Src: ________________________________________________________________

                        b.  Alt: ________________________________________________________________

                     2.  Write the HTML code to create the following web page:

                     3.  Identify the error in the following code and fix it:

                        a.  1num = 24

                         num_2 = 60

                         result = 1num + num_2
                        print(result)

                        b.  age = input("Enter your age: ")

                         age_next_year = age + 1
                        print(age_next_year)

                                                                                                 Periodic Assessment 3  133

| 130 131 132 133 134 135 136 137 138 139 140 |