+ 2
Input link
<input type = "submit" name = "" value = "Sign up"> i want to make a link to this
5 odpowiedzi
+ 5
Ok, if you want to make an input button link to another website is best to use the input type "button", the type "submit" is for forms.
Recommended way to make the input button link to another website is using JavaScript:
<input type="button" value="Go" onclick="window.location.href=' https://www.sololearn.com/ ';">
NOT recommended way is wrapping the input button in an anchor tag.
+ 4
So the input type "submit" is used to send form data to a file on the server. Is this what you mean with "make a link to this"?
If that's the case, you would have to add an "action" attribute to the form tag and specify there where to send the form data when your submit input is pressed.
If that wasn't what you were trying to do, could you please explain a little bit more?
+ 2
thank you
0
I mean that this code with CSS I make button when I click on it I want to appear another page