By default, the width and height of the table are automatically adjusted based on the content. You can also manually set the width and height of the table. Basic syntax & lt; TABLEWIDTHVALUEHEIGHTVALUE & gt; Syntax defines the WIDTH of the table through the WIDTH attribute. The HEIGHT attribute defines the HEIGHT of the table, in pixels or percentages. If the percentage is used, the table width and height are automatically adjusted based on the content by default. You can also manually set the width and height of the table.
Basic syntax
Syntax explanation
Example: 10-3.htm
Set the table width and height
The WIDTH attribute defines the WIDTH of a table. The HEIGHT attribute defines the HEIGHT of a table in pixels or percentages. If it is a percentage, it can be divided into two situations: if it is not a nested table, then the percentage is relative to the browser window; if it is a nested table, the percentage is relative to the cell width of the nested table.Set the width and height of the table.01 02 03 04 050607080910 mainstream Web Design Software11
12
13
Web image software |
Fireworks | 14
15
16
Web page creation software |
Dreamweaver | 17
18
19
Webpage animation software |
Flash | 20
21
22
23
File description
The row 11th defines that the table width is 400 pixels and the height is 100 pixels.