How to change the font colour in a table from black to white | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to change the font colour in a table from black to white

1st Apr 2017, 2:33 PM
Mahek
3 Answers
+ 16
in your css file: table {color:white;}
1st Apr 2017, 2:36 PM
elias sharafi
elias sharafi - avatar
+ 7
i understand your question that u want animation code is below 👇👇 <table> <th> <tr>bla bla</tr></th> <style> table{ color:black;background:white; animation:color 2s;} @keyframes color{color:white;background:black;} you can watch my code because i use animation a lot
2nd Apr 2017, 5:29 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 3
Use CSS table{color: white;} Or HTML <table style = "color: white;"></table> You can also put the CSS into a <style> tag.
1st Apr 2017, 2:36 PM
MisterMM23