Page 70 - TP-Play_V-2.0_Book-8
P. 70

For example:
            <A HREF = "About.html" target="_blank"> About Us </A>
            The preceding code will create a link with the name About Us. When we click on the About Us

            link, the About.html web page will open in a blank tab or window.
            First page of a website, also known as Home page contains various links of other web pages. Let
            us take an example of a website of the ABC Public School in which we are using external linking.
            The Home page of the website is as shown:



























                                                           Output

            Preceding web page contains six hyperlinks Admissions, Events, Sports, Activities, About Us and
            Contact Us which are created by using the <A> tag.
            The code to create the Home.html web page is as follows:

            <!DOCTYPE html>
            <HTML>
            <HEAD>

            <TITLE> Home Page </TITLE>
            <STYLE>
            body{background-color:#EEFFEE; color:red;}

            hr{background-color:red; height:2px}
            h3{text-align:center;}
            p{font-size:20px}
            </STYLE>

            </HEAD>
            <BODY>
            <H1> ABC Public School </H1>

            <HR COLOR="red">



             70       Play (Ver. 2.0)-VIII
   65   66   67   68   69   70   71   72   73   74   75