Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> table { width: 80%; margin: 30px auto; border-collapse: collapse; } tr:first-child { background-color: #1c87c9; color: #fff; } th, td { padding: 10px; border: 1px solid #666; } </style> </head> <body> <table> <tr> <th>Month</th> <th>Date</th> </tr> <tr> <td>June</td> <td>18.07.2018</td> </tr> </table> </body> </html>