Edit This Code:
<!DOCTYPE html>
<html>
<head>
<style>
input:enabled {
    background: #ffff00;
}


input:disabled {
    background: #dddddd;
}

</style>
</head>
<body>

<form action="">
First name: <input type="text" value="Mickey"><br>
Last name: <input type="text" value="Mouse"><br>
Country: <input type="text" value="Disneyland" disabled><br>
Password: <input type="password" name="password" value="psw" disabled><br>
E-mail: <input type="email" value="john@doe.com" name="usremail">
</form>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy