+ 1

How to create button ?

how to create button and after button click go to next page

26th Feb 2019, 5:23 PM
Yogesh Sambharam
Yogesh Sambharam - avatar
5 Answers
+ 1
First, you need the address (with absolute or relative path) of your "next page", since the browser does not know, where you want to go. Then simply create an HTML button like this: <input type="button" value="next page" onclick="window.location.href='nextPage.html'">
26th Feb 2019, 7:24 PM
Pete Wright
Pete Wright - avatar
0
If you also want a button that will work without javascript, get an image for the next button and add this: <noscript><a href=“nextPage.html”><img src=“next.jpg”></a></noscript> The noscript tags make it so if javascript is enabled, that won’t even show.
26th Feb 2019, 10:59 PM
Mike
Mike - avatar
0
example code plase
27th Feb 2019, 7:30 AM
Yogesh Sambharam
Yogesh Sambharam - avatar
0
Hj
5th Dec 2019, 11:03 AM
Rajindar Das
Rajindar Das - avatar
5th Dec 2019, 11:04 AM
Rajindar Das
Rajindar Das - avatar