xxxxxxxxxx
<form><script src="https://cdn.razorpay.com/static/widget/subscription-button.js" data-subscription_button_id="pl_JEC3C62WFNsFzm" data-button_theme="brand-color" async> </script> </form>
xxxxxxxxxx
<!-- VIA HTML -->
<form action="https://google.com">
<input type="submit" value="Go to Google" />
</form>
<!-- VIA CSS -->
<a href="https://google.com" class="button">Go to Google</a>
a.button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
text-decoration: none;
color: initial;
}
<!-- VIA JAVASCRIPT -->
<input type="button" onclick="location.href='https://google.com';" value="Go to Google" />
xxxxxxxxxx
<style>
/* Put the link inside the button */
button > a {
z-index: 5;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0;
}
</style>
<button>
<a href="/register.html"></a>
<p>Create an Account</p>
</button>
xxxxxxxxxx
button {
background: none!important;
border: none;
padding: 0!important;
/*optional*/
font-family: arial, sans-serif;
/*input has OS specific font-family*/
color: #069;
text-decoration: underline;
cursor: pointer;
}
xxxxxxxxxx
<form method="link" action="{% url 'gui' %}">
<input type="button" value="Start">
</form>