Page 121 - CA_165_V2.0_Flipbook
P. 121

21 st
                                                  Lab Assignment ‘n Activity                    Century   #Technology Literacy
                                                                                                      #Creativity
                                                                                                  Skills

                   Complete the following activity and tick on the circle.
                     Write HTML code to design a web page as shown below:
                      Special Notes:
                        Use the different attributes of <IMG> tag viz. SRC, ALIGN, BORDER, WIDTH, HEIGHT,
                          HSPACE, VSPACE, ALT, etc.




























                   <SUP> TAG

                 <SUP> is a container tag. It is used to display the text in superscript form. The text enclosed within this
                 tag is raised to the power form (exponential). This tag is helpful for writing arithmetic and scientific
                 notations. Syntax to use the <SUP> tag is as follows:

                   <SUP> Text </SUP>
                 For example:

                   E = mc <SUP> 2 </SUP>
                 Output:
                    E = mc 2
                                                             <SUP> Tag

                       Type            Function        Attributes          Contains                Used Inside
                  Container tag    Displays text as   None          Text or inline elements.  Typically placed within
                                   superscript.                                               <BODY> tag.


                   <SUB> TAG
                 <SUB> is a container tag. It is used to display the blocked text in subscript form. The enclosed text
                 is displayed as the base of the normal text. This tag is generally used to write formulas and chemical
                 equations. Syntax to use the <SUB> tag is as follows:

                   <SUB> Text </SUB>

                                                                                            More About HTML      119
   116   117   118   119   120   121   122   123   124   125   126