adspace
How to redirect to new page on click of button in html?
Answer Posted / Surya Bhatia
To redirect to a new page on button click in HTML, you can use the JavaScript window.location object. For example: `<button onclick="window.location.href='new-page.html'">Click here</button>`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the name of the website?
What are the new api's provided by the html5 standard? Give a brief description of each.
How comfortable are you with writing html entirely by hand?
How do I put text on the next line in html?
Can you list the new input type attributes in html5?
What is the current version of edge?
What is the simplest html page?
List out the new features of html5?