By default, the width and height of the header are automatically adjusted according to the content. We can also manually set the width and height of the header. Basic syntax <TH WIDTH=value HEIGHT=value> Syntax explanation <br />The width of the header is defined by attributes, and the height of the header is defined by attributes, in pixels or percentages. File example: 10-39.htm Set the width and height of the header. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-39.htm --> 03 <!-- File Description: Set the width and height of the header--> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Set the width and height of the header</TITLE> 08 </HEAD> 09 <BODY> 10 <H1>Mainstream web design software</H1> 11 <TABLE BORDER=1 WIDTH=400 HEIGHT=100> 12 <TR> 13 <TH WIDTH=300 height=50>Web Graphics Software</TH><TH>Fireworks</TH> 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 width of the header to be 300 pixels and the height to be 50 pixels. |
<<: Detailed steps to enable SourceGuardian (sg11) encryption component on Linux virtual hosts
>>: Vue.js implements the nine-grid image display module
MySQL DATE_ADD(date,INTERVAL expr type) and ADDDA...
This article is welcome to be shared and aggregat...
Table of contents 1. Introduction 2. Implementati...
The tbody element should be used in conjunction wi...
Table of contents 1. Self-enumerable properties 2...
In the latest version of WIN10, Microsoft introdu...
Part 1: Basics 1. Unlike pseudo-classes such as :...
Table of contents Preface Can typeof correctly de...
When receiving this requirement, Baidu found many...
1. RPM package installation steps: 1. Find the co...
Preface Everyone knows that many sites now charge...
Introduction The use of is null, is not null, and...
When using TensorFlow for deep learning, insuffic...
I believe everyone has played scratch tickets. Wh...
Table of contents Preface 1. The process of using...