[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
HTMLSPEC-TR

TR

Usage

Used to define a table row.

Attributes

align="left | center | right"


Specifies the horizontal alignment of the contents of a cell.

valign="top | middle | bottom"


Specifies the vertical alignment of the contents of a cell.

bgcolor="#heValue"


Specifies the color of the background of the cell; must use hexadecimal HTML color values as usual.

		
background="imageURL"


Specifies an image to be used as the background of the cell.

Live Example
<html>
<head><title>Table Row Document Example</title></head>
<body>
<table border=1 width=300>
<caption><font size=2pt face="arial">Example Table</caption>
<tr>
<th bgcolor=#000000><font size=2pt face="arial" color=#FFFFFF>Heading</font></th>
<th bgcolor=#000000><font size=2pt face="arial" color=#FFFFFF>Heading</font></th>
</tr>
<tr>
<td align="left"><font size=2pt face="arial">Text A</font></td>
<td align="right"><font size=2pt face="arial">Text B</font></td>
</tr>
</table>
</body>
</html> 


HTML Tags Center

last edited (April 12, 2004) by leeos, Number of views: 1349, Current Rev: 4 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.