Page 123 - CA_165_V2.0_Flipbook
P. 123

The following HTML code uses the <SUP>, <SUB>, and <BLOCKQUOTE> tags to display superscript,
                 subscript, and blockquote elements:

                 <HTML>
                 <HEAD>

                 <TITLE> SUP, SUB and BLOCKQUOTE Tags </TITLE>
                 </HEAD>

                 <BODY BGCOLOR = "YELLOW">

                 Example of Superscript : (A+B)<SUP>2</SUP> = A<SUP>2</SUP> +2AB + B<SUP>2</
                 SUP><BR>
                 Example of Subscript : H<SUB>2</SUB>SO<SUB>4</SUB><BR>

                 Example of Blockquote : <BR>
                 <B> ORANGE EDUCATION </B> <BR>

                 <BLOCKQUOTE CITE="https://orangeeducation.in/about-us/">

                 Orange Education is one of the leading publishers of India in the field of
                 Il.T. Books Publication. It's text books contains sufficient content, colour
                 print, corresponding Lab Assignments and Exercise including notes and Tech
                 facts.
                 </BLOCKQUOTE>

                 </BODY>

                 </HTML
                 The output of the preceding HTML code is as follows:
                                                                  Superscript Effect









                                                                                                        Subscript Effect




                    Indent left due to
                  <BLOCKQUOTE> tag.



                 The following table lists the attribute of the <BLOCKQUOTE> tag, its possible values, and a description of
                 its purpose.:

                   Attribute Name                 Value                                Description
                  cite                URL                             Specifies the source of the quotation






                                                                                            More About HTML      121
   118   119   120   121   122   123   124   125   126   127   128