Need help with buttons!


#1

My friend and I are making a webpage for an assignment. We were able to make buttons using
Blank button

But we can't link anything to the buttons. Can someone please explain how to do this? Thanks!


#3

Hi. Try this, see if it works. Replace 'Your link' with the link you want to use.

<FORM METHOD="LINK" ACTION="Your link">
<INPUT TYPE="submit" VALUE="Clickable Button">
</FORM>

I'n not 100%, but its worth a shot.


#4

Thank you! I'll try it. :slight_smile:


#5

why do you need forms? If you want to make a button, use a anchor:

<a href="https://google.com">google</a>

and then make it a block:

a {
  height: 100px;
  width: 400px;
  display: block;
  text-align: center;
  background: aqua;
}

#6

what are you trying to do with the button? It really would be easier if you posted some code so we can see what the problem is.