By default, the width and height of the cell are automatically adjusted according to the content, and we can also manually set the width and height of the cell. Basic syntax <TD WIDTH=value HEIGHT=value> Syntax explanation <br />The WIDTH attribute defines the width of the cell, and the HEIGHT attribute defines the height of the cell, in pixels or percentage. File example: 10-29.htm Set the width and height of the cell. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-29.htm --> 03 <!--File Description: Set the width and height of the cell--> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Setting the width and height of the cell</TITLE> 08 </HEAD> 09 <BODY> 10 <H1>Mainstream web design software</H1> 11 <TABLE BORDER=1 WIDTH=400 HEIGHT=100> 12 <TR> 13 <TD WIDTH=300 height=50>Web Graphics Software</TD><TD>Fireworks</TD> 14 </TR> 15 <TR> 16 <TD>Web page creation software</TD><TD>Dreamweaver</TD> 17 </TR> 18 <TR> 19 <TD>Web animation software</TD><TD>Flash</TD> 20 </TR> 21 </TABLE> 22 </BODY> 23 </HTML> File Description <br />Line 11 defines the table's width as 400 pixels and its height as 100 pixels. Line 13 defines the cell width as 300 pixels and height as 50 pixels. |
<<: Using zabbix to monitor the ogg process (Linux platform)
>>: Native JS to implement sharing sidebar
7 ways to implement a two-column layout with fixe...
MySQL download and installation (version 8.0.20) ...
Preface During development, we often encounter va...
Since the project requires a questionnaire, but th...
I recently deployed MySQL 5.6 and found that by d...
Docker Installation curl -fsSL https://get.docker...
Use event delegation to implement message board f...
Usage of time difference functions TIMESTAMPDIFF ...
Operating system: Win7 64-bit Ultimate Edition My...
This article shares the specific code of the WeCh...
The following code introduces MySQL to update som...
Table of contents 01 CMD 02 ENTRYPOINT 03 WORKDIR...
Find the problem After upgrading MySQL to MySQL 5...
1. Basic lines 2. Special effects (the effects ar...
#Case: Query employee salary levels SELECT salary...