<!DOCTYPE html>
<html>
<head>
<style>
input::placeholder {
color: red;
opacity: 0.5;
}
</style>
</head>
<body>
<h1>Demo of ::placeholder</h1>
<input type="text" name="fname" placeholder="Type your first name here..">
</body>
</html>