in Computer Applications by (1.9k points)
Abhilasha has just designed a web page. At the end of the web page, she wants to insert an image “next.jpg”.

She needs to link another web page with this image, i.e., whenever anyone click on the image “next.jpg”, another web page named “second.html” should open. Help her in writing the code to achieve it.

Note: Assume that image and both the web pages are stored in the same folder.

1 Answer

0 votes
by (17.5k points)
 
Best answer

Abhilasha has just designed a web page. At the end of the web page, she wants to insert an image “next.jpg”.

She needs to link another web page with this image, i.e., whenever anyone click on the image “next.jpg”, another web page named “second.html” should open. 

The code is -

<a href="second.html"><img src="next.jpg"></a>

...