Browsers Support: All.
<button type="button">Click</button>
autofocus:
Automatically get focus when the page loads.
<button type="button" autofocus>Click</button>
disabled
Disables the button.
<button type="button" disabled>Click</button>
name
Declaring a name for the button.(For php usage).
<button type="button" name = "click">Click</button>
type
Declaring a the type of the button.
type = “button” – Simple button for any use(for javascript).
type =”submit” – Send the form.
type =”clear” – Clear the form.
value
Declaring a value inside button(for javascript usage.
<!DOCTYPE html>
<html>
<head>
</head>
<script>
function Click(){
var button = document.getElementById('button');
alert(button.value);
}
</script>
<body>
<button id = "button" type="button" value = "Clicked :)" onclick="Click()">Click</button>
</body>
</html>
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me. https://accounts.binance.com/en-ZA/register-person?ref=JHQQKNKN