HTML element: table
<table> is an HTML element that contains data tabular form format. HTML tables use rows and columns to easily interpret data and relationships.
You might use a <table> element to display a grid, or a product’s price structure. Tables display related content in a way that is accessible and easy to understand at a quick glance.
Example
The HTML <table> element works with some required and some optional nested elements.
Syntax
1 | <table> |
2 | <thead> |
3 | <th>First name</th> |
4 | <th>Last name</th> |
5 | <th>Occupation</th> |
6 | </thead> |
7 | <tbody> |
8 | <tr> |
9 | <td>John</td> |
10 | <td>Doe</td> |
11 | <td>Scientist</td> |
12 | </tr> |
13 | <tr> |
14 | <td>Jane</td> |
15 | <td>Doe</td> |
16 | <td>Web Developer</td> |
17 | </tr> |
18 | </tbody> |
19 | </table> |
Result
Browser support
The <table> tag is supported in all modern browsers as well as many email clients. Read more up caniuse.com.
Characteristics
The <table> tag support Global attributes in HTML. Global...
source: https://news.oneseocompany.com/2023/02/10/html-element-table_2023021040505.html
Your content is great. However, if any of the content contained herein violates any rights of yours, including those of copyright, please contact us immediately by e-mail at media[@]kissrpr.com.