Table Width and Height
The CSS Table Width and Height property it is used to set the width and the height of a html table.
Table Width and Height
<style>
table { width: 50%; height: 50%;}
</style>
Table Width and Height example:
<html> <head> </head> <body>
| Column1 | Column2 | Column3 |
|---|---|---|
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
| cell7 | cell8 | cell9 |
| Column1 | Column2 | Column3 |
|---|---|---|
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
| cell7 | cell8 | cell9 |