Page 96 - CodePilot V5.0 C7
P. 96

The output of the preceding code is as follows:






















                  When you click on any one of the given internal links, it will take you to the respective section on
                  the same web page.

                     Code     Write the HTML code to present the given web page using the <A> tag to create an
                       2      external hyperlink.

                  <!DOCTYPE HTML>

                  <HTML>
                  <HEAD>
                  <TITLE>The Water Cycle</TITLE>

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

                  TEXT-ALIGN: CENTER;">
                  <H1>The Water Cycle</H1>
                  <P STYLE="FONT-SIZE: 20PX; TEXT-ALIGN: JUSTIFY;">

                  The water cycle is the process by which water moves through the Earth's
                  atmosphere, land and oceans. Learn more about the stages of the water
                  cycle:</P>
                  <A HREF="https://en.wikipedia.org/wiki/Water_cycle"  style="FONT-SIZE:

                  24PX;">
                  Explore the Water Cycle
                  </A>

                  </BODY>
                  </HTML>
                  When you click on the given external link, it will take you to the URL specified in the HREF attribute.


                      PRIVACY PRACTICES

                      Use HTTPS instead of HTTP in external links if the website supports it.




                   94
                        CodePilot (V5.0)-VII
   91   92   93   94   95   96   97   98   99   100   101