Page 167 - Webapplication11_C11_Flipbook
P. 167

<hr>
                       <font color="blue" size=4>
                         <p align= "left"> I have a little shadow that goes in and out with me,
                       <br>And what can be the use of him is more than I can see. <br>He is very,
                       very like me from the heels up to the head; <br>And I see him jump before
                       me, when I jump into my bed. </p> </font><font color="red" size=4>
                         <p align= "right"> The funniest thing about him is the way he likes to
                       grow— <br>Not at all like proper children, which is always very slow;
                       <br>For he sometimes shoots up taller like an india-rubber ball, <br>And
                       he sometimes gets so little that there's none of him at all. </p>

                       </font></body></html>
                    2.  Type the following code and see the output.
                       <!DOCTYPE html>
                       <html>
                       <head>
                       <title> My Webpage </title>
                       </head>
                       <body background="flower.jpg" text="red">
                       <h3>Fun Facts about Earth</h1>
                       <font color="blue" size=5>
                       <p align="left">
                       Lakes can explode <br>
                       Earth used to be purple <br>
                       Earth had two moons <br>
                       Most of the Earth's population lives near coasts <br>
                       The deepest place on our Earth is in the Pacific Ocean
                       </p> </font>
                       </body>
                       </html>



                 Other HTML Tags

                 Physical and logical tags are used in HTML to improve the user’s visibility and understanding of the content on the web
                 page. Both tags, however, are distinct from one another, as their names suggest.
                 Logical tags: In HTML, logical tags are used to display text in accordance with logical styles. The logical tags that are
                 often used in HTML are listed below.

                                               Tag                       Description

                                        <abbr>             Specifies an abbreviation

                                        <acronym>          Specifies an acronym
                                        <address>          Specifies an address element

                                        <cite>             Specifies citation

                                                                                Website Building Using HTML and CSS  165
   162   163   164   165   166   167   168   169   170   171   172