<html>
<head>
<style>
input:enabled {
background-color: yellow;
}
input:disabled {
background-color: lightgray;
}
</style>
</head>
<body>
<h1>Demo of :disabled and :enabled</h1>
<form>
<label for="name">Name: </label><br>
<input id="name" name="name" type="text" /><br>
<label for="email">Email: </label><br>
<input id="email" name="email" type="email" /><br>
<label for="country">Country: </label><br>
<input id="country" name="country" type="text" disabled />
</form>
</body>
</html>