| <html> <head>11 <title> Table in HTML </title> </head> <body> <table border="1"> <tr> <th>Heading no.1</th> <th>Heading no.2</th> </tr> <tr> <td>Row-No.1,Cell-No.1</td> <td>Row-No.1,Cell-No.2</td> </tr> <tr> <td>Row-N0.2,Cell-No.3</td> <td>Row-No.2,Cell-No.4</td> </tr> </table> </body> </html> |
The above code is saved with .html extension. Place the path of html saved code in URL of browser. Run the code in your browser.
Output is Displayed as

|
Recommend the tutorial |

Ask Questions? Discuss: Table Heading in HTML
Post your Comment