increase the size of button in html code example
Example 1: button size html
<button style="height:40px; width:40px;">Press Me</button>
Example 2: edit button html
<button style="height: 30px; background-color: none; border-radius:50%" id="edit_btn">
<img src="https://www.flaticon.com/svg/static/icons/svg/61/61456.svg" style="height: 20px; width:15px; float:center; text-align: center" />
</button>`
Example 3: html button size
transform: scale(4);
Example 4: how to set button width in javascript
var buttonShort = document.createElement("button");
buttonShort.innerHTML = "Generate Short Password";
var body = document.getElementsByTagName("body")[0];
buttonShort.style.width = '200px';
buttonShort.style.height = '200px';
buttonShort.style.background = 'teal';
buttonShort.style.color = 'white';
buttonShort.style.fontSize = '20px';
body.appendChild(buttonShort);
buttonShort.addEventListener("click", function() {
var newWindow = window.open();
newWindow.document.write("The generated Password is: '" + short() + "'");
newWindow.focus();
});