How to change the color of placeholder in HTML form ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to change the color of placeholder in HTML form ?

in case I want to change placeholder color..

25th Apr 2017, 12:48 PM
Phantom7
Phantom7 - avatar
3 Answers
19th Jul 2020, 11:27 AM
SurajGuptaOnline
SurajGuptaOnline - avatar
+ 1
u give your input a class and then change the color of it write this in your input tag style = "background-color: black";
25th Apr 2017, 3:45 PM
Amjad
Amjad - avatar