htmlfontscolors

How do I change the font color in an html table?


How do I change the font color in an html table?

<table>
<tbody>
<tr>
<td>
<select name="test">
<option value="Basic">Basic : $30.00 USD - yearly</option>
<option value="Sustaining">Sustaining : $60.00 USD - yearly</option>
<option value="Supporting">Supporting : $120.00 USD - yearly</option>
</select>
</td>
</tr>
</tbody>
</table>

I have tried

<span style="color: #0000ff;"> 
</span> 

in multiple locations ... which doesn't work.


Solution

  • <table>
    <tbody>
    <tr>
    <td>
    <select name="test" style="color: red;">
    <option value="Basic">Basic : $30.00 USD - yearly</option>
    <option value="Sustaining">Sustaining : $60.00 USD - yearly</option>
    <option value="Supporting">Supporting : $120.00 USD - yearly</option>
    </select>
    </td>
    </tr>
    </tbody>
    </table>