Question:

How do I make a button that redirects you to a new page in html?

by  |  earlier

0 LIKES UnLike

Please answer.

 Tags:

   Report

2 ANSWERS


  1. Replace links and filenames with whatever reflects your server obviously:

    <a href="www.linktopage.com"><img src="imageyouwanttouse.jpg" height="100" width="100" /></a>


  2. If you want an actual button (instead on an image as in Red's answer), insert this code:

    <input type="button" name="redirect" value="Redirect Me" onClick="window.location = 'newpage.html';">

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.