Page 71 - TP-Play_V-2.0_Book-8
P. 71
<H3> Welcome to ABC Public School </H3>
<P>
<BR> <A HREF="Admissions.html"> Admissions </A>
<BR> <A HREF="Events.html"> Events </A>
<BR> <A HREF="Sports.html"> Sports </A>
<BR> <A HREF="Activities.html"> Activities </A>
<BR> <A HREF="About.html"> About Us </A>
<BR> <A HREF="Contact.html"> Contact Us </A>
</P>
</BODY>
</HTML>
In the preceding code, we have seen that the <A> tag has been used six times to create six
hyperlinks. Each hyperlink is related to a different web page. For example, the Activities hyperlink
is linked with the Activities.html web page. When you click on the Activities hyperlink, the
Activities.html web page will appear in your web browser window as shown:
Output
The code to create the Activities.html web page is as follows:
<!DOCTYPE html>
<HTML>
<HEAD>
<TITLE> Activities </TITLE>
<STYLE>
body{background-color:#EEFFEE;}
hr{background-color:red; height:2px}
h1{color:red;}
h2, h3{text-align:center;color:red;}
</STYLE>
Images, Links and Frames in HTML5 71

