|
<TR> tag
defines a table row, which can contain heading and data cells.
To create an empty cell, define a cell with
a <TH> or <TD>
tag with nothing inside it. You can also add a line break
in that cell by itself with no other text.
The browser displays the table.
If you want a cell with nothing in it, just
define a cell with a <TH>
or <TD> tag with nothing
inside it.
Syntax:
<TR>
<TD></TD>
</TR>
<TR>
<TD><BR></TD>
</TR>
Table caption tell the reader what the table
is for. Although you could just use a regular paragraph or
a heading as a label for your table, there is a <CAPTION>
tag for just this purpose. Because the <CAPTION>
tag labels captions as captions, a tool to process HTML files
could extract them into a separate file, automatically number
them, or treat them in special ways simply because they are captions.
The <CAPTION>
tag goes inside the <TABLE>
tag just before the table rows, and it contains the title
of the table. It closes with the </CAPTION>
tag.
Syntax:
<Table>
<CAPTION ALIGN=BOTTOM>
</CAPTION>
The optional ALIGN attribute to the caption determines the
alignment of the caption. However, depending on what browser
you're using, you have different choices for what ALIGN means.
In Internet Explorer, you use the VALIGN
attribute to put the caption at the top or the bottom, and
ALIGN has three different values: LEFT, RIGHT, and CENTER,
which align the caption horizontally.
In Netscape Navigator, use ALIGN=BOTTOM
or ALIGN=TOP, and then use the <DIV>
tag with its ALIGN attribute to align the caption text to
the left, right, or center.
Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.
|
|