Page 168 - Webapplication11_C11_Flipbook
P. 168

Tag                       Description
                                      <code>            Specifies computer code text

                                      <blockquote>      Specifies a long quotation

                                      <del>             Specifies deleted text
                                      <dfn>             Specifies a definition term

                                      <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

                                     <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>



                166     Touchpad Web Applications-XI
   163   164   165   166   167   168   169   170   171   172   173