PDA

View Full Version : How Do I Create A Button Which Acts Like A Link?



gunjanjain
07-22-2019, 01:55 AM
Hello friends,

How Do I Create A Button Which Acts Like A Link?

WoodsPainting
07-22-2019, 02:57 AM
There are several ways to create an HTML button, that acts like a link (i.e. clicking on it the user is redirected to the specified URL).
...
You can choose one of the following methods to add link to an HTML button.
Add inline onclick event. ...
Use action or formaction attributes within <form> element.

seomark13
07-22-2019, 05:45 AM
you can use plugins such as elemontor for website and add buttons from element while specifying the link.

eCommerceChamp
07-22-2019, 06:26 AM
There are several ways to create an HTML button, that acts like a link (i.e. clicking on it the user is redirected to the specified URL).

You can choose one of the following methods to add link to an HTML button.

1. Add inline onclick event
2. Use action or formaction attributes within <form> element
3. Add a link styled as an HTML button (using CSS)

vinu
07-22-2019, 07:17 AM
We can use plugins or we can use HTML code

shaili shah
01-30-2020, 11:59 PM
You can create a button using html <input> tag which act as link like :

<a href="http:\\www.google.com" target="_blank"><input type="button" value="Button" /></a>

Let me know your response if you do this.