<!DOCTYPE html> <html> <style> table, table td, table th{ border:1px solid rgba(220,220,220,1); border-collapse:collapse; padding:5px; } </style> <body> <table> <tr> <th>Name</th> <th>Salary</th> <th>Expenses</th> <tr> <td>john</td> <td>$20,000</td> <td>$10,000</td> </tr> <tr> <td>david</td> <td>$30,000</td> <td>$15,000</td> </tr> <tr> <td>marry</td> <td>$40,000</td> <td>$15,000</td> </tr> </table> </body> </html>
Run
×
Share