Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 39 - 2609_Logiccode
P. 39

    TEXT-ALIGN: CENTER;">The Graceful Pink Birds</H2>

                     <IMG SRC="beautiful-flamingos-lake.jpg" ALT="Flamingo Image">
                     <P STYLE="COLOR: #2F4F4F; TEXT-ALIGN: CENTER;">

                     Flamingos  are tall, wading  birds known for their long legs, elegant
                     necks and distinct pink feathers.
                     </P>

                     </BODY>
                     </HTML>
                     Alternative text will be displayed when:

                       The image is not found due to an incorrect path or name.

                       The image file is missing or does not load.
                       The browser does not support the image file.
                     Code 6.  Write the HTML code to present the given web page using the <IMG> tag and the ALT
                              attribute.

                     <!DOCTYPE HTML>
                     <HTML>

                     <HEAD>
                     <TITLE>Flamingo Facts</TITLE>

                     </HEAD>
                     <BODY STYLE="BACKGROUND-COLOR: #F0F8FF;">

                     <H1 STYLE="COLOR: #FF6347; TEXT-ALIGN: CENTER;">All About Flamingos
                     </H1>

                     <H2 STYLE="COLOR: #4682B4;  TEXT-ALIGN: CENTER;">The  Graceful  Pink
                     Birds</H2>
                     <IMG SRC="lake.png" ALT="Flamingo Image">

                     <P STYLE="COLOR:  #2F4F4F;  TEXT-ALIGN: CENTER;">Flamingos  are tall,
                     wading birds known for their long legs, elegant necks and distinct pink
                     feathers.
                     </P>

                     </BODY>
                     </HTML>

                                  Alternative text is displayed if the image
                                  is not found due to an incorrect name or
                                         if the image is missing.

                                                                                               Making Web Pages Alive  37

| 34 35 36 37 38 39 40 41 42 43 44 |