DEV Community

Your Average Roblox Game Dev
Your Average Roblox Game Dev

Posted on

How to make a button open a different page when clicked in html.

step 1 - * Open up your coding software.
step 2 - Create a new html file.
step 3 - Put in the following code below -

<html>
   <body>
      <a href="Your_Link_Here" <!-- make sure to put https:/ -->
         <button>Your Text Here</button>
      </a>
   </body>
</html>
Enter fullscreen mode Exit fullscreen mode

Top comments (0)