add link behind a button in html
<!-- if you are on Window : -->
<button onclick="window.location.href='page2.html'">
Button
</button>
<!-- if you are on linux or macOS : -->
<button onclick="location.href='page2.html'">
Button
</button><button><a href='https://google.com' alt='Broken Link'>This is a button</a></button><!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<form>
<input type="button" onclick="window.location.href = 'https://www.w3docs.com';" value="w3docs"/>
</form>
</body>
</html>
Also in HTML:
- decode HTML Entities react
- embed Bokeh components to HTML
- javascript onclick alert are you sure
- stylesheet einbinden html5
- HTML button onclick
- ionic input
- js create pdf from html
- add link behind a button in html
- accept zip codes in html
- TYPESCRIPT RETURN HTML ELEMENT
- passing html vlaues to Javascript function
- html hyperlink with question mark in a form action
- html script mime type
- vmware linux ubuntu
- jquery replace html
- button redirect to new page html flask
- html background image fit to screen
- how to remove glow around button html
- center text in a html file
- jquery cdn
- add class in @html.displayfor
- set width and height of image html
- ajouter des espaces en html
- requests-html