Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> table, th, td { border: 1px solid #666; } </style> </head> <body> <table> <colgroup> <col span="2" style="width:20%; background-color:#eee;"> <col style="width:10%; background-color:#8ebf42;"> </colgroup> <tr> <th>Name</th> <th>Gender</th> <th>Age</th> </tr> <tr> <td>Mary Nicolson</td> <td>female</td> <td>19</td> </tr> <tr> <td>John Johnson</td> <td>male</td> <td>23</td> </tr> </table> </body> </html>