OneCompiler

how to create table in html

A table is created using the <table>, <tr>, <th>, and <td> tags.

(give the code for creating it)

1 Answer

1 year ago by
<table> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>Row 1, Col 1</td> <td>Row 1, Col 2</td> </tr> </table>
1 year ago by senpie956