Tutorial How to Create a Table in HTML without border


SUBMITTED BY: johnion

DATE: June 30, 2022, 3:53 a.m.

FORMAT: Text only

SIZE: 893 Bytes

HITS: 118

  1. There are a few tags to keep in mind for creating tables in HTML:
  2. <table> tag to wrap the table
  3. <thead> tag to wrap the table head
  4. <tbody> tag to wrap the body of the table
  5. <tr> (table row) tag to create rows
  6. <td> (data table) tag to create cells
  7. <th> tag (table head) to create a title in the header
  8. The most important tags to remember are the <table>, <tr>, and <td> tags. While the other tags are additional or optional, may or may not be used.
  9. Below is an example of creating a simple table using html code
  10. ===============
  11. <!DOCTYPE html>
  12. <html>
  13. <head>
  14. <title>Table HTML</title>
  15. </head>
  16. <body>
  17. <table>
  18. <tr>
  19. <td>Row 1 column 1</td>
  20. <td>Row 1 column 2</td>
  21. </tr>
  22. <tr>
  23. <td>Row 2 column 1</td>
  24. <td>Row 2 column 2</td>
  25. </tr>
  26. </table>
  27. </body>
  28. </html>
  29. ================

comments powered by Disqus