코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>HTML Tables</title> <style> table, th, td { border: 1px solid black; border-collapse: collapse } </style> </head> <body> <h1>테이블의 열 합치기</h1> <table style="width:100%"> <tr> <td>참치</td> <td colspan="2">고래</td> </tr> <tr> <td>상어</td> <td>문어</td> <td>꽁치</td> </tr> <tr> <td>오징어</td> <td>고등어</td> <td>돌고래</td> </tr> </table> </body> </html>