Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
Homepage: <input type="url" id="myURL">
<p>Click the button to set the width of the URL field.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
  document.getElementById("myURL").size = "50";
}
</script>
</body>
</html>