In the horizontal direction, you can set the alignment of the table, respectively, the left, center, the right 3 species.
Basic Syntax
<tablealign= "left"
<tablealign= ' CENTER '
<tablealign= ' right ' The
Syntax explains
left, centered in center and right. Example of a
file: 10-11.htm
To set the horizontal alignment of the table.
01<!----------------------------------
02<!--file Example: 10-11.htm-->
03<!-- File Description: Set Table center alignment
04<!----------------------------------
05
06< Head>
07<title> Set Table Center </title>
08
09<body>
10 <H1> Mainstream web design software
11<tableborder=3width=400height=100bordercolor= #336699Background = 10-8.jpgcellspacing=10cellpadding=25align= "CENTER"
12<tr>
13<td> web image software </td ><td>fireworks</td>
14</tr>
15<tr>
16<td> Web page production software </td ><td>dreamweaver</td>
17</tr>
18<tr>
19<td> web animation software </td><td>flash</td>
20</tr>
21 The </table>
22</body>
23
File description
11th line defines that the horizontal alignment of the table is centered.