hey I have a new dilemma.....
I have 3 div like 3 boxes and in each div there is an image and some text written and i want that when i click anywhere in any if the box then it will go to the other page e.g. if i am on home page then on clicking on box then it will go to service.html page in the website.
I have done this by
You'll have to add an ID to the elements on the
service.html page you want to link to, and then include them in your links:
<div onClick="window.location.href='service.html#section-1';">Go to Section 1</div> <div onClick="window.location.href='service.html#section-2';">Go to Section 2</div>