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

Ubuntu 16.04 installation tutorial under VMware 12

This article shares with you the installation tut...

How to obtain a permanent free SSL certificate from Let's Encrypt in Docker

1. Cause The official cerbot is too annoying. It ...

Binary Search Tree Algorithm Tutorial for JavaScript Beginners

Table of contents What is a Binary Search Tree (B...

How to restore a database and a table from a MySQL full database backup

In the official MySQL dump tool, how can I restor...

Detailed explanation of Javascript string methods

Table of contents String length: length charAt() ...

Several common redirection connection example codes in html

Copy code The code is as follows: window.location...

Learn MySQL in a simple way

Preface The database has always been my weak poin...

Detailed explanation of cocoscreater prefab

Table of contents Prefab How to create a prefab T...

Better-scroll realizes the effect of linking menu and content

1. Basic use <!DOCTYPE html> <html lang=...

Detailed explanation of vite2.0+vue3 mobile project

1. Technical points involved vite version vue3 ts...

MySQL and MySQL Workbench Installation Tutorial under Ubuntu

Ubuntu install jdk: [link] Install Eclipse on Ubu...

vue dynamic component

Table of contents 1. Component 2. keep-alive 2.1 ...