Hello @Venkat5,
Use this code:-
Colored Table table { width: 50%; border-collapse: collapse; } th, td { border: 1px solid #ddd; text-align: center; padding: 8px; } .yes { background-color: green; color: white; } .no { background-color: red; color: white; }| Name | Result |
|---|---|
| John | Yes |
| Jane | No |
| Sam | Yes |
| Anna | No |
Output:-
