PDF download Download Article PDF download Download Article

This article will show you how to make a HTML link button. It behaves similar to a normal hyperlink, but instead, it's a button.



  1. <form method="get" action="https://www.wikihow.com/Main-Page"><button type="submit">Home Page</button></form>
    Advertisement
  2. Currently the code points to wikiHow's homepage. Replace it with the URL of the page you wish to link to.
  3. Currently the button says "Homepage". You can change it to what ever you would like it to say.
  4. Left click the link to make sure it works. If it works, then you're done. If the button does not, you should check your code for mistakes.
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How I create a button like Merch that takes people to another page?
    Community Answer
    Follow the steps in the article, but change the text of the button and the link to whatever you need.
  • Question
    How do I create a button on an HTML page?
    Community Answer
    Type: button text. It should work.
  • Question
    Is there a way for the button to send more than one link?
    Community Answer
    No, a button can only do one job. Think of a volume switch on a phone. You can't get that button to turn the volume up, and turn the phone on, and make a call, all at once. The button can only have one job. Add more buttons as needed.
See more answers
Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      Things You'll Need

      • Text editor

      About This Article

      Thanks to all authors for creating a page that has been read 143,203 times.

      Is this article up to date?

      Advertisement