In the horizontal direction, you can set the alignment of the table header, which can be left, center, or right. Basic syntax <TH ALIGN="LEFT"> <TH ALIGN="CENTER"> <TH ALIGN="RIGHT"> Syntax LEFT means left, CENTER means center, and RIGHT means right. File example: 10-40.htm Set the horizontal alignment of the table header. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-40.htm --> 03 <!-- File description: Set the table header to center--> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Set the table header to center</TITLE> 08 </HEAD> 09 <BODY> 10 <H1>Mainstream web design software</H1> 11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 Background=10-8.jpg CellSpacing=10 CellPadding=25> 12 <TR> 13 <TH ALIGN="CENTER">Web Graphics Software</TH><TH>Fireworks</TH> 14 </TR> 15 <TR> 16 TD>Web design 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 13 defines the horizontal alignment of the header as center. |
<<: A brief discussion on the VUE uni-app life cycle
>>: Specific example of MySQL multi-table query
When switching users in the docker container, it ...
Table of contents 1. Subquery definition 2. Subqu...
Table of contents The order in which MySQL reads ...
Table of contents 3 ways to deploy projects with ...
Table of contents 1. What is an event? 2. Enable ...
Database transaction isolation level There are 4 ...
Table of contents 1. Lock and Latch 2. Repeatable...
Table of contents 1. Overview 1.1 Usage of queryS...
Problem/failure/scenario/requirement The hard dis...
1. Introduction to Distributed Storage System Wit...
1. getBoundingClientRect() Analysis The getBoundi...
JSON data is displayed and formatted on the HTML ...
1. mysqlbinlog: [ERROR] unknown variable 'def...
This article shares the specific code of Vue3.0 h...
Flex layout is undoubtedly simple and easy to use...