Answers for "button in html\"

30

how to create a button in html

<button onclick="window.location.href='/page2'">Continue</button>
Posted by: Guest on June-08-2020
0

how to use <button>

<!DOCTYPE html>
<script>
function log() {
console.log("Hello World!")
}
</script>
<html>
	<button onclick="log()">Button</button>
</html>
Posted by: Guest on January-15-2022

Browse Popular Code Answers by Language