<html>
<body>
Homepage: <input type="url" id="myURL" placeholder="URL">
<p>Click the button to change the placeholder text of the URL field.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
document.getElementById("myURL").placeholder = "Type URL here..";
}
</script>
</body>
</html>