Edit This Code:
<!DOCTYPE html>
<html>
<body>

E-mail: <input type="email" id="myEmail" placeholder="Email adr">

<p>Click the button to change the placeholder text of the email field.</p>

<button onclick="myFunction()">Try it</button>

<script>
function myFunction() {
    document.getElementById("myEmail").placeholder = "Your email address";
}
</script>
</body>
</html>


Result:
Try it Yourself - © w3schools.com