Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 2
How to change the color of select tag?
7 ответов
+ 2
Tag { color: red } //this for font
Tag { background-color: red } // for background
+ 1
By using css
+ 1
Use "Background-color" to change the background color and use "color" to change the font color
0
select{
color:red;
}
0
I have updated the code above
You can use tag name , id or class
0
You can change with color: Black; Black is a example. In Css use for example a <p>
p {
Color: Black;
}
For id's use #p and .p for class.