Date First Published: 16th January 2023
Topic: Web Design & Development
Subtopic: Web Development
Article Type: Computer Terms & Definitions
Difficulty: MediumDifficulty Level: 5/10
Learn more about what the HTML <table> tag is in this article.
The HTML <table> tag is used to define a table within a HTML document, allowing data to be represented in columns and rows. A HTML table consists of one <table> element and one or more <tr> (used to define a row), <th> (used to define a header), and <td> (used to define a table cell) elements. These are the basic elements that make up and control the size of the table. A HTML table may also include <caption>, <colgroup>, <thead>, <tfoot>, and <tbody> elements.
An example of a HTML table created using the <table> tag can be seen below:
Month | Number of Days |
---|---|
January | 31 |
February | 28 (29 in a leap year) |
March | 31 |
April | 30 |
May | 31 |
June | 30 |
July | 31 |
August | 31 |
September | 30 |
October | 31 |
November | 30 |
December | 31 |
Tables can be styled using CSS to improve the appearance of them. The table above was styled.
If so, it is important that you tell me as soon as possible on this page.
Network Services Network Setups Network Standards Network Hardware Network Identifiers Network Software Internet Protocols Internet Organisations Data Transmission Technologies Web Development Web Design Web Advertising Web Applications Web Organisations Web Technologies Web Services SEO Threats To Systems, Data & Information Security Mechanisms & Technologies Computer Hardware Computer Software Ethics & Sustainability Legislation & User Data Protection