redirect to another page in html on button click

How to add section that is quoted from another source using HTML ? Use event.preventDefault () to avoid this behaviour. Here is my JQuery JavaScript code. * All browser logos displayed above are property of their respective owners. There will be two pages Login.html and Success.html. location.href and location.assign() - Both will record the current page into the navigation history before redirecting. The action here is moving to another web page whose link is given in the action attribute of the . It is of the type submit. We can either create another file with .js extension or we can simply write JavaScript code inside tags inside HTML file. In the example above CSS.html page's button is implemented using