0
Html button to separate page
I can’t figure out how to make an html button take you to another page. For example, if you clicked a button on a home page that would take you to the signup/login page. Also, does that page have to be created first? I think so but I’m just checking. Thanks!
3 Antworten
+ 3
Hanna K. I would suggest making a hyperlink and use css to make it look like a button, it is better.
If you still insist on using a button, check this link:
https://www.google.com/url?sa=t&source=web&rct=j&url=https://stackoverflow.com/questions/3303675/how-to-make-an-input-type-button-act-like-a-hyperlink-and-redirect-using-a-get-r&ved=2ahUKEwijl8HVu9HoAhXc8OAKHWJjAToQFjAAegQIBBAB&usg=AOvVaw3i-Nn0-a3vNy0Jdrvp0R08
+ 2
Why use a button, if you can use a link?
The page doesn't have to be created to create the button, but you won't be redirected anywhere.
0
actually, it’s more of a button thing. it’s for a project, and I am relatively new to HTML, so I needed to know how to do a button. A button will just make the whole page look cleaner. I may just be misuderstanding you, though.