Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 88 - logicode 2609 C6
P. 88

    THE <SUB> TAG
                      The  <SUB> tag  is  used to  show subscript  text.  It  display  the  text  smaller than  the  normal
                      text  and below the  margin  line  of text.  It  is  a  container  tag.  For example,  H O is  coded  as
                                                                                                          2
                      H<SUB>2</SUB>O.

                         Code     Write the HTML code to display the given web page using the <B>, <I>, <U>
                           5      <SUP> and <SUB> tags.

                      <!DOCTYPE HTML>
                      <HTML>
                      <HEAD>

                      <TITLE>SCIENCE NOTES</TITLE>
                      </HEAD>
                      <BODY>
                      <I>Science Notes –
                      4<SUP>th</SUP> Sep 2025</I><BR><BR> <P>

                      The chemical formula of <U>water</U> is <B>H<SUB>2</SUB>O</B>.
                      </P>
                      <P>
                      The chemical formula of <U>oxygen</U> is <B>O<SUB>2</SUB></B>.
                      </P>
                      <P>
                      The chemical formula of <U>carbon dioxide</U> is <B>CO<SUB>2</SUB></B>.

                      </P>
                      </BODY>
                      </HTML>

                         Create a web page by following these instructions:
                         (a)  Title: Teacher’s Day.
                         (b)  Heading: Thank You, Teacher.
                         (c)  Write a paragraph expressing gratitude towards your teacher.

                       86   Premium Edition-VI

| 83 84 85 86 87 88 89 90 91 92 93 |