HTML table markup tutorial (18): table header

HTML table markup tutorial (18): table header
<br />The header refers to the first row of the table. The text in it can be centered and displayed in bold, which is achieved through the <TH> tag.
Basic syntax
01 <TABLE>
02 <TR>
03 <TH>…</TH>
04…
05 </TR>
06 <TR>
07 <TD>…</TD>
08 …
09 </TR>
10…
11 </TABLE>
Syntax explanation <br />Use the <TH> tag instead of the TD> tag. The only difference is that the content in the tag is centered and bold.
File example: 10-17.htm
The table header is implemented through the <TH> tag.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-17.htm -->
03 <!-- File Description: Set the table header-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set the table header</TITLE>
08 </HEAD>
09 <BODY>
10 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 ALIGN="CENTER">
11 <TR>
12 <TH>Software Category</TH>
13<TH>Software Name</TH>
14 </TR>
15 <TR>
16 <TD>Web Graphics Software</TD><TD>Fireworks</TD>
17 </TR>
18 <TR>
19 <TD>Web page creation software</TD><TD>Dreamweaver</TD>
20 </TR>
21 <TR>
22 <TD>Web animation software</TD><TD>Flash</TD>
23 </TR>
24 </TABLE>
25 </BODY>
26 </HTML>
File Description <br />Lines 12 and 13 define the table header.

<<:  Nginx tp3.2.3 404 problem solution

>>:  Solve the problem of no my.cnf file in /etc when installing mysql on Linux

Recommend

Analysis of MySQL general query log and slow query log

The logs in MySQL include: error log, binary log,...

XHTML Getting Started Tutorial: Using the Frame Tag

<br />The frame structure allows several web...

Two ways to achieve horizontal arrangement of ul and li using CSS

Because li is a block-level element and occupies ...

Detailed explanation of MYSQL large-scale write problem optimization

Abstract: When people talk about MySQL performanc...

Linux virtual memory settings tutorial and practice

What is Virtual Memory? First, I will directly qu...

Navicat remote connection to MySQL implementation steps analysis

Preface I believe that everyone has been developi...

Methods and steps for Etcd distributed deployment based on Docker

1. Environmental Preparation 1.1 Basic Environmen...

Installation tutorial of mysql8.0rpm on centos7

First, download the diagram 1. First uninstall th...

Detailed explanation of the use of nohup /dev/null 2>&1

nohup command: If you are running a process and y...

MySQL uses UNIQUE to implement non-duplicate data insertion

SQL UNIQUE constraint The UNIQUE constraint uniqu...

Vue uses Canvas to generate random sized and non-overlapping circles

Table of contents Canvas related documents Effect...

Quick understanding of Vue routing navigation guard

Table of contents 1. Global Guard 1. Global front...

Tutorial on installing MySQL 5.7.28 on CentOS 6.2 (mysql notes)

1. Environmental Preparation 1.MySQL installation...

Detailed explanation of MySQL transaction processing usage and example code

MySQL transaction support is not bound to the MyS...