<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
::-webkit-input-placeholder { /* Edge */
color: blue;
}
:-ms-input-placeholder { /* Internet Explorer */
color: blue;
}
::placeholder {
color: blue;
}
</style>
</head>
<body>
<h1>CSS ::placeholder Selector</h1>
<input type="text" placeholder="Your Name">
</body>
</html>