Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 66 - 2620_Birla Open Mind C-8
P. 66

    The syntax to create a hyperlink is:

                  <A HREF = "URL of Web Page" TARGET="_blank"> Link Text </A>
                  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:

                  Home 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{COLOR:RED; TEXT-ALIGN:CENTER;}
                  P{FONT-SIZE:20PX;}
                  </STYLE>

                  </HEAD>
                  <BODY>

                  <H1> ABC Public School </H1>
                  <HR>
                  <H3> Welcome to ABC Public School </H3>

                  <P>

                      64  Premium Edition-VIII

| 61 62 63 64 65 66 67 68 69 70 71 |