0

HTML colored Words

Hello, I would like to ask how to change color to a string of word inside an HTML table. I have chosen a black background and i need the words inside these cells to be white instead of black.

20th Nov 2020, 5:01 PM
Giovanni Ploner
1 Odpowiedź
+ 2
Put the text inside an inline element for example span and use CSS to style your span element. For example: <table border="2"> <tr> <td><span>Red</span></td> <td><span>Red</span></td> <td><span>Red</span></td> </tr> </table> In CSS: span{ color:red;} Hope this helps.
20th Nov 2020, 8:32 PM
Souptik Nath
Souptik Nath - avatar