HTML table tag tutorial (24): horizontal alignment attribute of the row ALIGN

HTML table tag tutorial (24): horizontal alignment attribute of the row ALIGN

In the horizontal direction, you can set the row alignment, which can be left, center, or right.
Basic syntax
<TR ALIGN="LEFT">
<TR ALIGN="CENTER">
<TR ALIGN="RIGHT">
Syntax
LEFT is for left alignment, CENTER is for right alignment, and RIGHT is for right alignment.
File example: 10-22.htm
Sets the horizontal alignment of the row.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-22.htm -->
03 <!-- File description: Set the line to center-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set the row 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 ALIGN="CENTER">
13 <TD>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 12 defines the horizontal alignment of the row as center.

<<:  How to forget the root password in Mysql8.0.13 under Windows 10 system

>>:  Detailed explanation of the difference between uniapp and vue

Recommend

Implementation of running springboot project with Docker

Introduction: The configuration of Docker running...

Detailed explanation of the payment function code of the Vue project

1. Alipay method: Alipay method: Click Alipay to ...

How to find identical files in Linux

As the computer is used, a lot of garbage will be...

How to reduce the memory and CPU usage of web pages

<br />Some web pages may not look large but ...

Detailed explanation of Linux CPU load and CPU utilization

CPU Load and CPU Utilization Both of these can re...

How to use CSS custom variables in Vue

Table of contents The CSS custom variable functio...

Implementation of vscode custom vue template

Use the vscode editor to create a vue template, s...

How to build Nginx image server with Docker

Preface In general development, images are upload...

A brief discussion on browser compatibility issues in JavaScript

Browser compatibility is the most important part ...

CSS perfectly solves the problem of front-end image deformation

I saw an article in Toutiao IT School that CSS pe...

Docker-compose quickly builds steps for Docker private warehouse

Create docker-compose.yml and fill in the followi...

Sharing some details about MySQL indexes

A few days ago, a colleague asked me a question a...