Page 157 - Web Applications (803) Class 11
P. 157

<ins>              Specifies inserted text
                                        <kbd>              Specifies keyboard text

                                        <pre>              Specifies preformatted text
                                        <q>                Specifies short quotation

                                        <samp>             Specifies sample computer code
                                        <strong>           Specifies strong text

                                        <var>              Specifies a variable
                 Physical Tags: Physical tags are used in HTML to give the text a physical appearance. Physical tags that are commonly
                 used in HTML are listed below.

                                                    Tag                        Description
                                        <b>                           Specifies bold text
                                        <big>                         Specifies big text

                                        <i>                           Specifies italic text
                                        <small>                       Specifies small text
                                        <sup>                         Specifies  superscripted  text
                                        <sub>                         Specifies  subscripted  text
                                        <tt>                          Specifies teletype text




                                                  Lab Assignment ‘n Activity                        Experiential Learning
                                                                                                   Computational Thinking


                    1.  Type the following code and see the output.
                       <!DOCTYPE html>

                       <html>
                       <head>
                       <title>My Webpage</title>
                       </head>
                       <body text="red">
                       <h1> Logical Tags </h1>
                       Welcome to <abbr title="My HTML Class"> MHC</abbr> <br>
                       This is <acronym title="My HTML Class">MHC</acronym> <br>
                         <address> My HTML Class, 7th & 8th Floor, XYZ Building, A-18, Sector-
                       22, Dwarka,
                       New Delhi (110075) </address> <br>
                       <cite> Wikipedia </cite> is my favourite website. <br>
                       <code> Sample code: print("Hi there!") </code>
                       <blockquote cite="https://www.cbse.nic.in/">
                         The  CBSE envisions a strong,  lively,  and comprehensive  educational
                       system  that  fosters  excellence  in  all  areas  of  human  endeavour.  The
                       Board is dedicated to providing high-quality education to its students
                       in order to foster intellectual, social, and cultural vitality.




                                                                            Website Development using HTML and CSS   155
   152   153   154   155   156   157   158   159   160   161   162