Page 122 - CA_165_V2.0_Flipbook
P. 122

For example:

                    CO <SUB>2 </SUB>
                  Output:

                      CO
                         2
                                                              <SUB> Tag

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


                       Do you know?

                       Mathematical and chemical equations can also be displayed on web pages.
                       For eg. (A+B)  =A  +2AB +B , H SO , etc.
                                   2
                                                2
                                      2
                                                      4
                                                   2
                    <BLOCKQUOTE> TAG
                  <BLOCKQUOTE> is a container tag. It contains block-level tags. This tag is used to display the text after
                  leaving a space of two indents from its side margin. The display of the initial line of the text under this
                  tag is similar to the text displayed in <P> tag but with a <BLOCKQUOTE> tag, even in the next line of the
                  same paragraph the text appears after leaving the same space as it was in the initial line.

                                                         <BLOCKQUOTE> Tag
                        Type            Function        Attributes          Contains               Used Inside

                   Container tag   Defines  a  section  cite          Block-level elements   Typically placed within
                                   that is quoted.                    such as <P>.           <BODY> or other
                                                                                             container tags.
                  Syntax to use the <BLOCKQUOTE> tag is as follows:

                    <BLOCKQUOTE> Text to be indented </BLOCKQUOTE>
                  For example:
                    <BLOCKQUOTE> Welcome to the new era of Computing </BLOCKQUOTE>
                  Output:
                      Welcome to the new era of Computing.

                  Attributes of <BLOCKQUOTE> Tag

                  The following attribute is used with <BLOCKQUOTE> tag:
                  • cite


                  cite
                  The cite attribute in the <BLOCKQUOTE> tag specifies the source of the quotation. It provides a URL that
                  points to the source of the quoted content, offering additional context or credit to the original author.
                  Syntax to use the CITE attribute of the <BLOCKQUOTE> tag is as follows:
                  <BLOCKQUOTE CITE = "URL"> [Quoted text or content goes here] </BLOCKQUOTE>




                   120   Touchpad Computer Applications-X
   117   118   119   120   121   122   123   124   125   126   127