Monday 8 September 2014

Class 7 - Hyperlink

  Write a complete  HTML program to  create a webpage as given below. 

The title of the page is an image file (title.png) , and the

other image file is gladiator.jpg.

The file names of  different notepad files are histry.html, image1.html, image2.html, image3.html, image4.html. Link all the pages.Create only the main file.

Now you have to create only the main file.

<html>
<head>
<title> Cottonian Shield</title>
</head>
<body>
<center><img src=title.png></center> <br>
<center><img src=gladiator.jpg></center><br>
<a href=histry.html>History</a><br>
<a href=image1.html>Image 1</a><br>
<a href=image2.html>Image 2</a><br>
<a href=image3.html>Image 3</a><br>
<a href=image4.html>Image 4</a><br>
</body>
</html>

Remember after <a href write the file name if it is given in the question or else assume some name. Do not write the picture name there, write only the notepad file name, close the bracket. Then write the hypertext that is the text which on clicking will take you to the given page . In the example given below the hypertexts are History,Image 1,Image2,Image3,Image 4.

By the way those are my boys Jeswanth, Vinay and Sapthagiri (8 B last year). Now they are in senior team.



No comments:

Post a Comment