| <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

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Table Heading in HTML
Post your Comment