-1

I wrote the text of this button from html?

<form action="link.htm">
    <button type="submit">Click</button>
</form>

1 Answers1

2

The simple answer: You can't.

You can use a link tag using a tag and add it href attribute like this:

<a href="your_url">Click</a>

Or you can use javascript like this:

<button onclick="location.href='http://google.com';">Click</button>
Mosh Feu
  • 28,354
  • 16
  • 88
  • 135