So now we know how to create a basic table but sometimes you will need your elements in the table to be classified in different sections.For this we will use header cells.Header cells are very useful for creating categories, for example let's say we have got a car sale webpage.Our header cells could contain something like Mercedes or any other brand.In the cell below, we could type the car model and below that we can let the user know the price.To create the mentioned cell, use the tag <th></th>.For all the other ones just do the same as with a basic table.
Example:
No comments:
Post a Comment