PNLdev
Tutorial
Front-end
HTML
reference
CSS
reference
JavaScript
reference
En
English
فارسی
En
English
فارسی
Tutorial
Front-end
HTML
reference
CSS
reference
JavaScript
reference
Run
<!DOCTYPE html> <html> <head> <style> table, th, td { border: 5px solid blue; } </style> </head> <body> <h1>col tag example</h1> <table> <colgroup> <col span="2" style="background-color:yellow"> <col style="background-color:Gray"> </colgroup> <tr> <th>code</th> <th>player</th> <th>Score</th> </tr> <tr> <td>030504</td> <td>tomas</td> <td>60</td> </tr> <tr> <td>020605</td> <td>jamal</td> <td>85</td> </tr> </table> </body> </html>