By default, the width and height of the cell are automatically adjusted according to the content, we can also set the width and height of the cell manually.
Basic Grammar
Grammar explanation
Define the width of the cell through the WIDTH attribute, and define the height of the cell through the HEIGHT attribute, in pixels or percentages.
File example: 10-29.htm
Set the width and height of the cell. 01 02 03 04 05 06 07 Set Define the width and height of the cell
08 09 10 Mainstream web design software
11
12
13 网页图像软件 |
Fireworks |
14
15
16 网页制作软件 |
Dreamweaver |
17
18
19 网页动画软件 |
Flash |
20
21 12
13 Web image software |
Fireworks | 14
15 16 Web page creation software |
Dreamweaver |
17
18 19 Web page Animation software |
Flash |
20 21
22 23
File Description
Line 11 defines the width of the table to be 400 pixels and the height to be 100 pixels. Line 13 defines the width of the cell to be 300 pixels and the height to be 50 pixels. | Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn