HTML table markup tutorial (42): horizontal alignment attribute of the table header ALIGN

HTML table markup tutorial (42): horizontal alignment attribute of the table header ALIGN

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

Recommend

How to improve MySQL Limit query performance

In MySQL database operations, we always hope to a...

SQL implementation of LeetCode (177. Nth highest salary)

[LeetCode] 177.Nth Highest Salary Write a SQL que...

A brief discussion on the lazy loading attribute pattern in JavaScript

Table of contents 1. Introduction 2. On-demand at...

Theory Popularization——User Experience

1. Concept Analysis 1: UE User Experience <br ...

Implementation code for partial refresh of HTML page

Event response refresh: refresh only when request...

How to monitor Tomcat using LambdaProbe

Introduction: Lambda Probe (formerly known as Tom...

A complete list of commonly used HTML tags and their characteristics

First of all, you need to know some characteristi...

Build a Scala environment under Linux and write a simple Scala program

It is very simple to install Scala environment in...

In-depth explanation of the principle of MySQL Innodb index

introduction Looking back four years ago, when I ...

Tips and precautions for using MySQL index

1. The role of index In general application syste...

Docker Tutorial: Using Containers (Simple Example)

If you’re new to Docker, take a look at some of t...

Javascript common higher-order functions details

Table of contents 1. Common higher-order function...

Detailed explanation of the difference between run/cmd/entrypoint in docker

In Dockerfile, run, cmd, and entrypoint can all b...

Detailed explanation of Svn one-click installation shell script under linxu

#!/bin/bash #Download SVN yum -y install subversi...