Definition and usage:
HTML tables have two cell types:
1. Header cell - contains header information (created by th element)
2. Standard cell - Contains data (created by td element) Text in
th element is rendered bold and centered. The text within the
td element is ordinary left-aligned text.
A simple HTML table with two cells:
The above is the detailed content of How to use html td tag. For more information, please follow other related articles on the PHP Chinese website!