How do I redirect to another webpage?

how to redirect a url to another url in html
html redirect to another page on load
how to redirect from one page to another in html on button click
how to redirect to another page in html on button click
how to redirect to another page in html after login
html button onclick redirect to another page w3schools
auto redirect html code
javascript redirect to url