Answers for "option color html"

0

html select option text color

<style>
  #selector{
  color:red;
	}
</style>

<select name="" id="selector">
  <option value="1">1</option>
  <option value="2">2</option>
  <option value="3">3</option>
</select>
Posted by: Guest on June-29-2021
0

how to make option colour black in html

echo '
<style>
option {
    background-color: black !important;
}
</style>
';
Posted by: Guest on January-04-2021

Code answers related to "option color html"

Browse Popular Code Answers by Language