PDA

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



gunjanjain
07-21-2019, 10:48 PM
Hello friends,

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

PrimeItSolution
07-22-2019, 08:46 PM
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.

imriakapoor
07-22-2019, 09:45 PM
Did you mean triggering a link on button click?

gauravkp32
07-22-2019, 09:50 PM
if you have a wordpress site you can create a button which acts as a link by using plugins such as elementor and in that you can find an option to use button and if you insert a link to it, it will act as a button which will redirect the user to the page specified by you