You can do the following:
1) HTML + CSS
<!DOCTYPE html> <html> <head> <style> table { border-collapse: separate; border-spacing: 0px; } th,td { background-color: red; padding: 5px; } </style> </head> <body> <table> <tr> <td><b>Member</b></td> <td><b>Account #</b></td> <td><b>Site</b></td> <td><b>Date</b></td> </tr> </table> </body> </html>
Or
2) HTML + CSS
<!DOCTYPE html> <html> <head> <style> table { border-collapse: collapse; } th,td { background-color: red; padding: 5px; } </style> </head> <body> <table> <tr> <td><b>Member</b></td> <td><b>Account #</b></td> <td><b>Site</b></td> <td><b>Date</b></td> </tr> </table> </body> </html>
And if you need to make all the entries in the table bold, you can do the following:
<!DOCTYPE html> <html> <head> <style> table { border-collapse: collapse; } th,td { background-color: red; padding: 5px; font-weight: bold; } </style> </head> <body> <table> <tr> <td>Member</td> <td>Account #</td> <td>Site</td> <td>Date</td> </tr> </table> </body> </html>
source share